When base time is 12:00:10, i expect that the get_prev() returns the "12:00:00", not the "10:00:00". When the base time is changed to "12:01:10" all is as expected:
current: 12:01:10
prev: 12:00:00
next: 14:00:00
To i get really previous time (and date) of the execution, i need to use:
Hi, when i try, if it is proper solution fo mre, i find this:
Which prints:
When base time is 12:00:10, i expect that the get_prev() returns the "12:00:00", not the "10:00:00". When the base time is changed to "12:01:10" all is as expected:
To i get really previous time (and date) of the execution, i need to use:
regards