------ art_82600_31280756.1153311978431 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: quoted-printable Content-Disposition: inline On 7/19/06, Harold Hausman <hhausman / gmail.com> wrote: > > I suspect that Time.parse is just not understanding the "Malay > Peninsula Standard Time" time zone. Or maybe theres something I'm just > not understanding? > > It looks like Time.parse is missing the year at the end of the string, > observe: > > irb(main):001:0> Time.new > => Wed Jul 19 19:47:57 Malay Peninsula Standard Time 2006 > > irb(main):002:0> Time.parse "Wed Jul 19 19:47:57 Malay Peninsula > Standard Time 2006" > => Wed Jul 19 19:47:57 Malay Peninsula Standard Time 2006 > > irb(main):003:0> Time.parse "Wed Jul 19 19:47:57 Malay Peninsula > Standard Time 2007" > => Wed Jul 19 19:47:57 Malay Peninsula Standard Time 2006 > > irb(main):004:0> Time.parse "Wed Jul 19 19:47:57 Malay Peninsula > Standard Time 2012" > => Wed Jul 19 19:47:57 Malay Peninsula Standard Time 2006 > > Does this make me the first Ruby user in Singapore? Do I get a prize? > > hehe, > -Harold > > You seem a victim of the Ruby Quiz, who patched negative sleep? -- Deux choses sont infinies : l'univers et la bóŐise humaine ; en ce qui concerne l'univers, je n'en ai pas acquis la certitude absolue. - Albert Einstein ------ art_82600_31280756.1153311978431--