Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
A Django app providing database and form fields for pytz timezone objects.
Python

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
timezone_field
README
setup.py

README

This app provides a TimeZoneField to save pytz.tzinfo.DstTzInfo objects.

Input can either be a pytz DstTzInfo object, or a string that validates
successfully against pytz.all_timezones.

Output is a pytz DstTzInfo object.

Objects are stored in the database as strings.
South support included.

Custom validators should be designed to validate a pytz DstTzInfo.

Originally adapted from Brian Rosner's django-timezones:
https://github.com/brosner/django-timezones/
Something went wrong with that request. Please try again.