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
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
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
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
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
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
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
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
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