#2447: [patch] Experimental time zone support for date and time fields, database
backend utilities
----------------------------------+-----------------------------------------
 Reporter:  [EMAIL PROTECTED]  |       Owner:  adrian                  
     Type:  enhancement           |      Status:  new                     
 Priority:  normal                |   Milestone:                          
Component:  Core framework        |     Version:                          
 Severity:  normal                |    Keywords:  timezone, time zone, UTC
----------------------------------+-----------------------------------------
 The attached patch attempts to improve Django's support for time zones.
 
 Specifically, it modifies the date and time fields so that they return
 str(self.data), which will yield an ISO 8601 formatted date, but with a
 space separator instead of a T. That format will include a time zone
 offset using the [+-]HH:MM format if the underlying datetime object is not
 naive. That format is understood by most databases.
 
 It also modifies the function typecast_timestamp from db.backend.util such
 that it will try to parse time zone offsets. If no such format is found,
 it will still produce a non-naive datetime object, set in the current time
 zone.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/2447>
Django <http://code.djangoproject.org/>
The web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates
-~----------~----~----~----~------~----~------~--~---

Reply via email to