Le 03/12/13 16:27, Stéphane Klein a écrit :
> python-dateutil have a auto discover parse function, but I don't want to use
> this auto discover feature
For now, I use this :
import dateutil.parser
import pytz
tz_str = '''-12 Y
-11 X NUT SST
-10 W CKT HAST HST TAHT TKT
-9 V AKST GAMT GIT
Le 03/12/13 11:07, Stuart Bishop a écrit :
> 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.
>
Ok.
> If you need to map an abbreviation back to a single timezone you are
> solving the wrong problem, because
On Mon, Dec 2, 2013 at 11:18 PM, Stéphane Klein
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 fro
On Mon, Dec 2, 2013 at 11:18 AM, Stéphane Klein wrote:
> Hi,
>
> I would like to convert time zone abbreviation to full time zone in Python.
>
> I've found this information :
>
> *
>
> http://stackoverflow.com/questions/1703546/parsing-date-time-string-with-timezone-abbreviated-name-in-python
>
>
Hi,
I would like to convert time zone abbreviation to full time zone in Python.
I've found this information :
*
http://stackoverflow.com/questions/1703546/parsing-date-time-string-with-timezone-abbreviated-name-in-python
I'm currently writing dict with this informations :
http://www.timeanddate