Home > Blog > Django and time zone-aware date fields (redux)

Django and time zone-aware date fields (redux)

Previously on 24…

I posted a module for handling time zone-aware datetime objects, but I left out all the hassle of dealing with form input. Here is a more complete python package for Django that includes a form field sub-class that can handle a small set of datetime string formats that include a time zone offset.

Timezones 0.1

This code is released under Django’s BSD license.

Tags: ,
  1. Sam Bull
    January 23rd, 2011 at 19:02 | #1

    Hey,

    Your timezones utility looks really useful. Can I convince you to post it on github and pypi?

    I might be missing something, but right now it seems like your solution is nicer than the db stuff in https://github.com/brosner/django-timezones

    Sam

  2. January 23rd, 2011 at 19:23 | #2

    @Sam Bull Hi Sam, I’d be up for putting the package on pypi (more likely I would share it on bitbucket than github though, would that be a deal-breaker for you?).

    Have you used this yourself yet? What might you change / fix?

    David B.

  1. No trackbacks yet.