On Tue, Jun 5, 2012 at 1:41 PM, Guido van Rossum <gu...@python.org> wrote: > Maybe you need to get out more. :-) This is how datetime is > represented in App Engine's datastore: > https://developers.google.com/appengine/docs/python/datastore/typesandpropertyclasses#DateTimeProperty > (Note: These docs are unclear about whether a tzinfo attribute is > present. The code is clear that it isn't.)
>From the docs: "Some libraries use the TZ environment variable to control the time zone applied to date-time values. App Engine sets this environment variable to 'UTC'." This means that App Engine's local timezone is UTC and strictly speaking this is not a counter example to what I said. Proposed mktime() based code will still work in this case. _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com