Top "Pytz" questions

pytz brings the Olson tz database into Python.

Python: All possible Timezone Abbreviations for given Timezone Name (and vise versa)

Using pytz, I know how to get a listing a Timezone names, but I would like to get all possible …

python datetime timezone pytz
When to use datetime.utcnow() or datetime.now(tz=pytz.utc).replace(tzinfo=None)

I would like to understand when I should be using datetime.now(tz=pytz.utc).replace(tzinfo=None) as opposed …

python datetime timezone pytz
Weird timezone issue with pytz

>>> import pytz >>> pytz.timezone('Asia/Hong_Kong') <DstTzInfo 'Asia/Hong_Kong' LMT+7:37:00 STD&…

python pytz
Django Tutorial - ImproperlyConfigured exception (pytz isn't installed)

I'm currently working through the official Django tutorial using version 1.6.1 and version 2.7.5 of python on OSX. I'm working on part 2, …

python django pytz
Django and time zone

Django 1.7, PostgreSQL. I want to store datetime in UTC and display it in PST time zone. My local time: 8:05 am …

python django datetime pytz
pytz.timezone shows weird results for Asia/Calcutta?

Possible Duplicate: Python datetime object show wrong timezone offset import pytz, datetime pytz.timezone("Asia/Calcutta") prints the following: < …

python datetime pytz