3 ms·
Oh man people that have used python for a while have come to expect datetime to just be strange in general. Essentially the default is to be in your TZ from mid
by mzs 13y ago
Oh man people that have used python for a while have come to expect datetime to just be strange in general. Essentially the default is to be in your TZ from midnight, you need to convert and there are different classes for epoch, and some of the members seemingly willy-nilly are not there or named differently then! And that's just the start, that's why things like arrow exist: http://crsmithdev.com/arrow/ http://crsmithdev.com/arrow/ time and datetime in python show their age.