From: Aaron Patterson Date: 2010-04-09T00:47:15+09:00 Subject: [ruby-core:29337] Re: [Bug #1247] YAML::load converts some dates into strings --lEGEL1/lMxI0MVQ2 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 08, 2010 at 10:22:57PM +0900, Yusuke Endoh wrote: > Issue #1247 has been updated by Yusuke Endoh. >=20 >=20 > Hi, >=20 > > The yaml parser isn't converting this string to a date: > > > > $ irb > > irb(main):001:0> require 'yaml'; > > irb(main):008:0> YAML::load '2008-09-02 17:47:44.549355' > > =3D> "2008-09-02 17:47:44.549355" >=20 >=20 > I guess this is a bug of syck. Aaron, are you willing to fix this? Not in Syck. > Psych seems to work correctly: >=20 > YAML::ENGINE.yamler =3D "psych" > p YAML::load "2008-09-02 17:47:44.549355" > #=3D> 2008-09-02 17:47:44 +0000 >=20 >=20 > I suggest to declare that any bug of syck will no longer be fixed > unless it is fatal (such as SEGV). Then, I can close all tickets > about bug of syck (#1311, #1758, #2767, more?). Also #719. I agree. --=20 Aaron Patterson http://tenderlovemaking.com/ --lEGEL1/lMxI0MVQ2 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) iQEcBAEBAgAGBQJLvfp1AAoJEJUxcLy0/6/GQKkIAJOtraXp7CIvK/9oNMrUCXKu MzWMS1z1ItS/ZFsDGEXImvSdRxeTop6F6McOeljdxmlO76R/bcINsttvFFK0mrF/ UCFfhZ/MhWvyTZUyB4fPNndMgECHMJ9lfZUa+Edi+BfUlX9E2xbV53oXC8Abqob9 I1whwhmI0HPscZ1elJ4e756HIIMwH1rVAj1xqMBxn2hbgH4pF8X4dgLZ7W0XmRQc ID2Rr11Do13zUXtuwzxswsmdtHmTN/7D1nOxMu9d1pbvuRB2bhCd4a3aTiYlcs7I 8pynNaIONkxflReKJ9tw/mbMQzL8UyeZXpNuG++qy5Mugg2rEd1sB3Rai9T5jjg= =rpKw -----END PGP SIGNATURE----- --lEGEL1/lMxI0MVQ2--