Re: US/Eastern offset

2016-12-23 Thread Chris Angelico
On Sat, Dec 24, 2016 at 6:51 AM, wrote: > On Thursday, December 22, 2016 at 5:57:42 PM UTC-8, Chris Angelico wrote: >> On Fri, Dec 23, 2016 at 12:54 PM, wrote: >> > Wouldn't most users prefer that modern time zones be the default >> > information returned by pytz, instead of 150 year-old histo

Re: US/Eastern offset

2016-12-23 Thread jladasky
On Thursday, December 22, 2016 at 5:57:42 PM UTC-8, Chris Angelico wrote: > On Fri, Dec 23, 2016 at 12:54 PM, wrote: > > Wouldn't most users prefer that modern time zones be the default > > information returned by pytz, instead of 150 year-old historical time zones? > > They're the *same* time

Re: US/Eastern offset

2016-12-23 Thread Skip Montanaro
Okay, problem solved. My thanks to Chris Barker over on the Anaconda group for help. (I originally thought there might be something amiss with the pytz package in Anaconda, as our older non-Anaconda Python seemed not to have the problem.) It turns out to be a problem I solved several years ago at m

Re: US/Eastern offset

2016-12-22 Thread Chris Angelico
On Fri, Dec 23, 2016 at 12:54 PM, wrote: > Wouldn't most users prefer that modern time zones be the default information > returned by pytz, instead of 150 year-old historical time zones? They're the *same* time zones. ChrisA -- https://mail.python.org/mailman/listinfo/python-list

Re: US/Eastern offset

2016-12-22 Thread jladasky
On Thursday, December 22, 2016 at 3:47:04 PM UTC-8, Christian Heimes wrote: > On 2016-12-22 21:49, Skip Montanaro wrote: > > In a small application I realized I needed all my timestamps to have > > timezone info. Some timestamp strings come in with no TZ markings, but > > I know they are US/Eastern

Re: US/Eastern offset

2016-12-22 Thread Christian Heimes
On 2016-12-22 21:49, Skip Montanaro wrote: > In a small application I realized I needed all my timestamps to have > timezone info. Some timestamp strings come in with no TZ markings, but > I know they are US/Eastern. so, I built one: > import pytz tz = pytz.timezone("US/Eastern") tz

Re: US/Eastern offset

2016-12-22 Thread Ian Kelly
On Thu, Dec 22, 2016 at 4:19 PM, Ian Kelly wrote: > On Thu, Dec 22, 2016 at 2:49 PM, Skip Montanaro > wrote: >> In a small application I realized I needed all my timestamps to have >> timezone info. Some timestamp strings come in with no TZ markings, but >> I know they are US/Eastern. so, I built

Re: US/Eastern offset

2016-12-22 Thread Ian Kelly
On Thu, Dec 22, 2016 at 2:49 PM, Skip Montanaro wrote: > In a small application I realized I needed all my timestamps to have > timezone info. Some timestamp strings come in with no TZ markings, but > I know they are US/Eastern. so, I built one: > import pytz tz = pytz.timezone("US/Easte

US/Eastern offset

2016-12-22 Thread Skip Montanaro
In a small application I realized I needed all my timestamps to have timezone info. Some timestamp strings come in with no TZ markings, but I know they are US/Eastern. so, I built one: >>> import pytz >>> tz = pytz.timezone("US/Eastern") >>> tz What's with those extra four minutes? Here is one s