Open edent opened 6 years ago
There is only one correct way to write datestamps. All Hail ISO8601!
Oblig. https://xkcd.com/1179/
time.strftime("%Y-%m-%dT%H:%M:%S")
I assume you're not dealing with timezones? If you are, pop a %z on the end.
%z
I can't do a PR easily because I can't test the code - as I've no printer :-)
Fixed in #13
There is only one correct way to write datestamps. All Hail ISO8601!
Oblig. https://xkcd.com/1179/
time.strftime("%Y-%m-%dT%H:%M:%S")
I assume you're not dealing with timezones? If you are, pop a
%z
on the end.I can't do a PR easily because I can't test the code - as I've no printer :-)