Samathy / PostOffice

Send some bytes, They get printed on my reciept printer. Its like a one-way Telegram machine!
MIT License
2 stars 4 forks source link

ISO8601 #7

Open edent opened 6 years ago

edent commented 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.

I can't do a PR easily because I can't test the code - as I've no printer :-)

TheEnbyperor commented 6 years ago

Fixed in #13