|
|
|
[
Permlink
| « Hide
]
Charles Oliver Nutter - 16/Nov/07 03:32 PM
Interesting
Note that I was referring to the hour difference, not the GMT offset vs string. However, as of revision 4842, it looks like you've switched to GMT offset. Anyway, I still see the bug.
JRuby's RubyTime just ignores the last 4 arguments altogether:
in createTime(): if (args.length == 10) { So, no matter what is specified in the last 4 arguments, they don't affect the end result of Time.local invocation. This also leads to one of activesupport unit test failures: 4) Failure: The test in the activesupport test suite uses the long form of Time.local to set DST flag, and fails, since the flag is ignored. E.g., with TZ=US/Eastern: MRI: returns false, true. JRuby both times returns false. Punting issues from 1.1 RC2 to 1.1 final.
A patch to clean up time creation a bit...it doesn't pass marshalling though, and I haven't time to fix it better.
Move to post 1.1, since the time stuff is a bit involved at the moment. Good 1.1.1 fix if we get it done.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||