Comment 1 for bug 1134802

Revision history for this message
Dolph Mathews (dolph) wrote :

FWIW, I think this is the difference between what we're doing and what we should be doing...

Incorrect, the equivalent of passing datetime objects directly to json.dumps():

  >>> print unicode(timeutils.utcnow())
  2013-02-27 21:54:23.832703

Correct:

  >>> print timeutils.isotime(timeutils.utcnow())
  2013-02-27T21:54:32Z