Time::xmlschema returns wrong results

L

Lucas Nussbaum

Time::xmlschema('2005-08-30T22:48:00-07:00')
=> Thu Sep 01 05:48:00 UTC 2005

(instead of Wed Aug 31 of course)

$ ruby --version
ruby 1.8.3 (2005-06-23) [i486-linux]
(Ubuntu Breezy package)

I couldn't find where the bug is, but this is ... interesting :)
 
T

Tanaka Akira

Lucas Nussbaum said:
Time::xmlschema('2005-08-30T22:48:00-07:00')
=> Thu Sep 01 05:48:00 UTC 2005

(instead of Wed Aug 31 of course)

$ ruby --version
ruby 1.8.3 (2005-06-23) [i486-linux]
(Ubuntu Breezy package)

I couldn't find where the bug is, but this is ... interesting :)

Thank you for the report. I fixed the problem now.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top