On Wed, Nov 2, 2016 at 3:15 PM, Paul G <[email protected]> wrote:

> Where would the tzid come from?


Hmm, I was actually thinking of the time module strftime where %/ can
simply print the value of the TZ environment variable or the system local
zone setting (which may be tricky to obtain, which is another reason to do
it in stdlib.)


> It's not a standard feature of tzinfo, so wouldn't that involve changing
> the tzinfo API as well?


Yes, to add this to datetime.strftime(), we will need to extend the tzinfo
API.  I have to think some more before making a specific proposal.  Any
suggestions?  I think this was discussed a few years ago.  I'll try to find
the relevant threads.
_______________________________________________
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