Format Django DateField as ISO format

Posted by rein on Stack Overflow See other posts from Stack Overflow or by rein
Published on 2010-03-22T15:16:52Z Indexed on 2010/03/22 15:31 UTC
Read the original article Hit count: 287

Filed under:
|

Hi,

I'm using Django to serve up some XML. Part of the requirements is that my dates are formatted as follows: 1969-12-31T18:33:28-06:00

How can I output a DateField in Django in that format?

© Stack Overflow or respective owner

Related posts about django

Related posts about dates