RE: utcoffset v. _utcoffset

2013-08-21 Thread Prasad, Ramit
Skip Montanaro wrote: > > Consider this little Python script: > > import dateutil.parser > import pytz > > x = dateutil.parser.parse("2013-08-16 23:00:00+01:00") > localtz = pytz.timezone("America/Chicago") > y = localtz.normalize(x) > > When I execute it (Python 2.7.2, dateutil 1.5, pytz 2011h

Re: utcoffset v. _utcoffset

2013-08-21 Thread Ned Deily
In article , Skip Montanaro wrote: > Consider this little Python script: > > import dateutil.parser > import pytz > > x = dateutil.parser.parse("2013-08-16 23:00:00+01:00") > localtz = pytz.timezone("America/Chicago") > y = localtz.normalize(x) > > When I execute it (Python 2.7.2, dateutil 1

Re: utcoffset v. _utcoffset

2013-08-21 Thread Terry Reedy
On 8/21/2013 2:05 PM, Skip Montanaro wrote: Consider this little Python script: import dateutil.parser import pytz Neither of these are stdlib modules, so I cannot run this. x = dateutil.parser.parse("2013-08-16 23:00:00+01:00") localtz = pytz.timezone("America/Chicago") y = localtz.normaliz