#28911: Add support for the Msft time zone required on Windows Subsystem for
Linux
running openSUSE
-------------------------------------+-------------------------------------
Reporter: El'endia Starman | Owner: Sergey
Type: | Fedoseev
Cleanup/optimization | Status: assigned
Component: Utilities | Version: 1.11
Severity: Normal | Resolution:
Keywords: timezone | Triage Stage: Accepted
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Comment (by David Smith):
Hi All,
Since this ticket was opened the versions of openSUSE available for WSL
have changed. Currently openSUSE Leap 15.1 and 15.2 are available in the
store. The example above showed that only `msft` was available. In the
same folder now there is a greater variety of options:
{{{
david@LAPTOP-HTRGKVO7:/usr/share/zoneinfo> ls
Africa Brazil Egypt GB Hongkong Jamaica MST7MDT
posix Singapore W-SU
America Canada Eire GB-Eire HST Japan Navajo
posixrules Turkey zone1970.tab
Antarctica CET EST GMT Iceland Kwajalein NZ
PRC UCT zone.tab
Arctic Chile EST5EDT GMT0 Indian Libya NZ-CHAT
PST8PDT Universal Zulu
Asia CST6CDT Etc GMT-0 Iran MET Pacific
right US
Atlantic Cuba Europe GMT+0 iso3166.tab Mexico Poland
ROC UTC
Australia EET Factory Greenwich Israel MST Portugal
ROK WET
}}}
This means that the example in the original ticket now works.
{{{
>>> settings.TIME_ZONE
'America/Chicago'
>>> import pytz
>>> pytz.timezone(settings.TIME_ZONE)
<DstTzInfo 'America/Chicago' LMT-1 day, 18:09:00 STD>
>>>
}}}
On this basis can we now close this ticket (worksforme?)
--
Ticket URL: <https://code.djangoproject.com/ticket/28911#comment:10>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/072.f5fb2987b91467af627d3d99884d1f2c%40djangoproject.com.