I am supposed to add an extra second to the field end_time which is of type . I am not able to add an extra second to the time, for example the time is 10:34:45 and I want to make the time as 10:34:46 then using timedelta function I am not able to add the second nor can I convert this object to datetime.datetime object. The field is not a datetime.datetime field from the very start. The field is already a datetime.time object beforehand. So what is the best way to convert this datetime.time object to add the extra seconds.
print (end_time_n)
print (type(end_time_n))
Output:
12:17:04
<class 'datetime.time'>