On Wed, Sep 9, 2015 at 12:33 PM, Tim Peters <[email protected]> wrote:

> +0.  The base (tzinfo) class requires the datetime argument because,
> in general, a zone's name depends on the datetime (like "is it in the
> zone's "daylight" time"?).
>

I was thinking of returning the "zoneinfo" name such as America/New_York in
this case.  This would end the debate about what is the "proper" timezone
name: if you know the date and time - you can get a specific EST/EDT
abbreviation.  If not - you'll just get whatever the zoneinfo calls itself.
_______________________________________________
Datetime-SIG mailing list
[email protected]
https://mail.python.org/mailman/listinfo/datetime-sig
The PSF Code of Conduct applies to this mailing list: 
https://www.python.org/psf/codeofconduct/

Reply via email to