Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #60925 > unrolled thread
| Started by | Stuart Bishop <stuart@stuartbishop.net> |
|---|---|
| First post | 2013-12-03 17:07 +0700 |
| Last post | 2013-12-03 17:07 +0700 |
| Articles | 1 — 1 participant |
Back to article view | Back to comp.lang.python
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
Re: I look for a list to convert time zone abbreviation to full time zone in python Stuart Bishop <stuart@stuartbishop.net> - 2013-12-03 17:07 +0700
| From | Stuart Bishop <stuart@stuartbishop.net> |
|---|---|
| Date | 2013-12-03 17:07 +0700 |
| Subject | Re: I look for a list to convert time zone abbreviation to full time zone in python |
| Message-ID | <mailman.3505.1386065570.18130.python-list@python.org> |
On Mon, Dec 2, 2013 at 11:18 PM, Stéphane Klein <contact@stephane-klein.info> wrote: > * are there the same list somewhere (I didn't found in pytz) ? Not that I know of. > * is it possible to append this list in pytz or in standard python date module ? It could go into pytz (but generated from the IANA database, not from the list you quote). Whether it should go into pytz is debatable. If you need to map an abbreviation back to a single timezone you are solving the wrong problem, because you can only map an abbreviation back to a list of possible timezones (And that list might change when the database is corrected). Also, to correctly represent this you need to specify the point in time. EST in 'Tue Dec 3 20:44:00 EST 2013' maps to about 3 timezones. EST in 'Tue Dec 3 20:44:00 EST 2011' maps to about 6. -- Stuart Bishop <stuart@stuartbishop.net> http://www.stuartbishop.net/
Back to top | Article view | comp.lang.python
csiph-web