Alexander Belopolsky <alexander.belopol...@gmail.com> added the comment:

Barry,

I looked at your changeset at 
http://bazaar.launchpad.net/~gwibber-committers/gwibber/trunk/revision/1354 and 
at the specification at 
http://developers.facebook.com/docs/reference/api/event/.

Am I correct that you are parsing "string containing an ISO-8601 formatted 
date/time or a UNIX timestamp; if it contains a time zone (not recommended), it 
will be converted to Pacific time before being stored and displayed"?

If so, it looks like converting input to POSIX timestamps is the wrong thing to 
do because users who specify naive time expect it to be displayed without 
conversion.

The way I read the specs, a better implementation would store input in naive 
datetime objects, converting UNIX timestamps or TZ-aware strings to Pacific 
timezone.

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue14908>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to