Screenshot instructions:
Windows
Mac
Red Hat Linux
Ubuntu
Click URL instructions:
Right-click on ad, choose "Copy Link", then paste here →
(This may not be possible with some types of ads)
From: Oren Ben-Kiki <oren@be...> - 2012-10-21 10:06:02
|
YAML (and other systems) allow the "T" separator to be replaced by a space for increased readability. Since readability always comes first in YAML, this is also the default. Oren Ben-Kiki On Fri, Oct 19, 2012 at 2:58 PM, Mateusz Loskot <mateusz@...> wrote: > 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 > _______________________________________________ > Yaml-core mailing list > Yaml-core@... > https://lists.sourceforge.net/lists/listinfo/yaml-core > |