Created
December 10, 2014 03:45
-
-
Save pythonizame/2b6d5dc2087634725e67 to your computer and use it in GitHub Desktop.
Enlistar timezone existentes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# -*- coding: utf-8 -*- | |
""" | |
Función para enlistar zonas horarias. | |
Consultar: http://en.wikipedia.org/wiki/List_of_tz_database_time_zones | |
requisito: pip install pytz | |
""" | |
from pytz import all_timezones | |
for tz in all_timezones: | |
print tz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment