James,
  Would it be valid to take the hours and multiply them by 60 then add
the remaining minutes?  For example:

French Polynesia (UTC - 9:30)
   offset = -((9 * 60 = 540) + 30)
   offset = -570 minutes

>>> print now()
2006-10-09 20:31:02.000
>>> print now() + RelativeDateTime(minutes=-570)
2006-10-09 11:01:04.000

Chatham Islands (UTC + 12:45)
   offset = ((12*60) + 45)
   offset = 765 minutes

>>> print now()
2006-10-09 20:32:21.000
>>> print now() + RelativeDateTime(minutes=765)
2006-10-10 09:17:26.000


--Nick


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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-users
-~----------~----~----~----~------~----~------~--~---

Reply via email to