Re: [Datetime-SIG] The name of the UTC timezone
Aug. 26, 2015
5:19 p.m.
OK, I guess we can change stdlib datetime.timezone.utc's str() to 'UTC'. Make sure to update both the C and the Python version, and the tests, and the docs. It's going to have to go into 3.6. On Wed, Aug 26, 2015 at 9:38 AM, Alexander Belopolsky < alexander.belopolsky@gmail.com> wrote:
On Wed, Aug 26, 2015 at 12:30 PM, Guido van Rossum <guido@python.org> wrote:
Why is this needed? When would a real app use %Z%z?
Given that a bug report [1] exists, someone was tripped by the current behavior. It is my understanding that "UTC" is one of the few timezone abbreviations that we recognize in strptime and the users expect strptime to be able to parse whatever strftime produces.
-- --Guido van Rossum (python.org/~guido)
3796
Age (days ago)
3796
Last active (days ago)
0 comments
1 participants
participants (1)
-
Guido van Rossum