pediapress/timelib

strtotime('today') returns yesterday

Closed this issue · 1 comments

just wanted to say, great library.

 time.ctime(timelib.strtotime('today'))

returns the date of yesterday

timelib uses utc, whereas time.ctime computes the local time.

try

time.asctime(time.gmtime(timelib.strtotime("today")))