On Mon, Aug 3, 2015 at 12:49 PM, Chris Barker <[email protected]> wrote: > if we're going to print out the datetime in iso 8601 format, or whatever, > shouldn't we do it offical UTC way???
Maybe we should, but we don't. Try the following on a Linux system: $ TZ=right/UTC python >>> datetime.datetime.utcfromtimestamp(1341100823).isoformat() '2012-06-30T23:59:59' >>> datetime.datetime.utcfromtimestamp(1341100824).isoformat() '2012-06-30T23:59:59' >>> datetime.datetime.utcfromtimestamp(1341100825).isoformat() '2012-07-01T00:00:00' _______________________________________________ Datetime-SIG mailing list [email protected] https://mail.python.org/mailman/listinfo/datetime-sig The PSF Code of Conduct applies to this mailing list: https://www.python.org/psf/codeofconduct/
