[Datetime-SIG] Add a strftime/strptime code for timezone ID

Paul G paul at ganssle.io
Thu Nov 3 11:28:04 EDT 2016


Does any other programming language actually support IANA zones out of the box? I feel like building in IANA zone support into the language itself is a bad idea, as I think I mentioned in my earlier post. This seems like something that is clearly best handled by third party libraries.

Aside from favoring IANA-style zone specifications (which seems unnecessary, especially given that the way the compiled tzdata represents data somewhat inconsistently with Python's tzinfo approach), the distribution of the data seems like it would be a complete nightmare.


On 11/03/2016 10:58 AM, Alexander Belopolsky wrote:
> 
> On Thu, Nov 3, 2016 at 10:51 AM, Random832 <random832 at fastmail.com <mailto:random832 at fastmail.com>> wrote:
> 
>     Remember, Python doesn't actually support IANA timezones out of the box.
> 
> 
> I plan to change this in 3.7, but this is a topic for a future PEP. 
> 
> 
> 
> 
> _______________________________________________
> Datetime-SIG mailing list
> Datetime-SIG at python.org
> https://mail.python.org/mailman/listinfo/datetime-sig
> The PSF Code of Conduct applies to this mailing list: https://www.python.org/psf/codeofconduct/
> 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 801 bytes
Desc: OpenPGP digital signature
URL: <http://mail.python.org/pipermail/datetime-sig/attachments/20161103/b92c5f5c/attachment.sig>


More information about the Datetime-SIG mailing list