Jim Carroll wrote:
M.-A. Lemburg mal at egenix.com writes:
On 2008-03-07 22:24, Jim Carroll wrote:
It's taken me a couple of hours to give up on strptime
with %Z for recognizing
time zones... but that still leaves me in the wrong zone:
How can I use the PST (or any other time zone name)
M.-A. Lemburg mal at egenix.com writes:
On 2008-03-07 22:24, Jim Carroll wrote:
It's taken me a couple of hours to give up on strptime
with %Z for recognizing
time zones... but that still leaves me in the wrong zone:
How can I use the PST (or any other time zone name)
to adjust
On Mar 11, 11:00 am, Jim Carroll [EMAIL PROTECTED] wrote:
(snipped)
p.parse(10:29:52 Feb 29, 2008 PST, tzinfos=zones)
datetime.datetime(2008, 2, 29, 10, 29, 52, tzinfo=tzoffset('PST', -28800))
But I cannot figure out how to get dateutil to use the
zoneinfo file that it includes in its own
It's taken me a couple of hours to give up on strptime with %Z for recognizing
time zones... but that still leaves me in the wrong zone:
def paypal_to_mysql_date(ppDate):
# a typical paypal date is 10:29:52 Feb 29, 2008 PST
date_parts = ppDate.split()
withouttz =
On 2008-03-07 22:24, Jim Carroll wrote:
It's taken me a couple of hours to give up on strptime with %Z for recognizing
time zones... but that still leaves me in the wrong zone:
def paypal_to_mysql_date(ppDate):
# a typical paypal date is 10:29:52 Feb 29, 2008 PST
date_parts =