Re: How to force PyYAML to dump date with a z at the end?
Andrey Somov <[email protected]>
| Newsgroups | gmane.text.yaml.general |
|---|---|
| Message-ID | <[email protected]> |
Hi Matthew,PyYAML works properly and dumps the date according to the specification (http://yaml.org/type/timestamp.html) Can you please report a bug for the Ruby parser which shall accept the date without 'Z' at the end ? Otherwise you will face the issue with other libraries as well. Can you may be extend Ruby parser in the same way it is possible for PyYAML to fix the issue where it actually occurs ? Regards, Andrey On Thu, Mar 5, 2009 at 5:01 AM, Matthew Wilson <[email protected]> wrote: > I'm trying to write some yaml files with python that can be parsed > with ruby. The problem I'm having is that that PyYAML dumps datetime > objects in a format that ruby's parser doesn't recognize as a date. > > ------------------------------------------------------------------------------ Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise -Strategies to boost innovation and cut costs with open source participation -Receive a $600 discount off the registration fee with the source code: SFAD http://p.sf.net/sfu/XcvMzF8H _______________________________________________ Yaml-core mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/yaml-core