Format of datetime dump
Mateusz Loskot <[email protected]>
| Newsgroups | gmane.text.yaml.general |
|---|---|
| Message-ID | <CABUeae_KJQDvtiRomJKcfKMHYzAVjwvyuvh8U=8_ZAJy6QSUsg@mail.gmail.com> |
Hi,
Given this snippet:
yaml.dump({'date':datetime.datetime.now()})
"{date: !!timestamp '2012-10-19 01:32:41.674322'}\n"
Could anyone enlighten me why the ISO8601 format YYYY-MM-DDThh:mm:ssTZD
is not used here, by default?
Is there any mean to make yaml.dump generating datetime in ISO8601?
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct