This project is archived and is in readonly mode.
[PATCH] time_ext_test failing because of time zone
Reported by Santiago Pastorino | March 27th, 2010 @ 03:31 PM | in 3.0.2
Ruby's marshaling of Time instances doesn't respect the zone, after unmarshalling the time zone is UTC ever
1) Failure:
test_marshaling_with_frozen_local_instance(TimeExtMarshalingTest)
[core_ext/time_ext_test.rb:790:in `test_marshaling_with_frozen_local_instance'
/var/lib/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `__send__'
/var/lib/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `run']:
<"UYT"> expected but was
<"UTC">.
2) Failure:
test_marshaling_with_local_instance(TimeExtMarshalingTest)
[core_ext/time_ext_test.rb:774:in `test_marshaling_with_local_instance'
/var/lib/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `__send__'
/var/lib/gems/1.8/gems/mocha-0.9.8/lib/mocha/integration/test_unit/ruby_version_186_and_above.rb:19:in `run']:
<"UYT"> expected but was
<"UTC">.
Comments and changes to this ticket
-
Repository March 27th, 2010 @ 03:44 PM
- State changed from open to resolved
(from [38bb133881a6c22b821d9d4144802d2705258377]) Ruby's marshaling of Time instances doesn't respect the zone [#4282 state:resolved]
Signed-off-by: José Valim jose.valim@gmail.com
http://github.com/rails/rails/commit/38bb133881a6c22b821d9d4144802d... -
Jeremy Kemper October 15th, 2010 @ 11:01 PM
- Milestone set to 3.0.2
- Importance changed from to Low
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
<h2 style="font-size: 14px">Tickets have moved to Github</h2>
The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>
People watching this ticket
Attachments
Tags
Referenced by
- 4282 [PATCH] time_ext_test failing because of time zone (from [38bb133881a6c22b821d9d4144802d2705258377]) Ruby's ...