Lighthouse has a new layout. Prefer the old one? Return to the old layout, and switch back any time from the link at the top of each page.

This project is archived and is in readonly mode.

[PATCH] time_ext_test failing because of time zone

#4282

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">.

Reported by Santiago Pastorino · March 27th, 2010 @ 03:31 PM

State: resolved
Milestone: 3.0.2
Assigned to: Jeremy Kemper Jeremy Kemper
Importance: Low

Activity

  1. Repository
    Repository
    • State changed from open to resolved

    March 27th, 2010 @ 03:44 PM

  2. Jeremy Kemper
    Jeremy Kemper
    • Milestone set to 3.0.2
    • Importance changed from to Low

    October 15th, 2010 @ 11:01 PM