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.

The original TIME ZONE value on PostgreSQL is not correctly restored after going through options :utc and then going back to :local

#4950

The following test case is failing (this happens on certain time zones and using certain dates) ...

  1) Failure:
test_timestamp_with_zone_values_without_rails_time_zone_support(PostgresqlDataTypeTest)
    [./test/cases/datatype_test_postgresql.rb:237:in `test_timestamp_with_zone_values_without_rails_time_zone_support'
     /home/santiago/Documentos/WyeWorks/Proys/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:67:in `__send__'
     /home/santiago/Documentos/WyeWorks/Proys/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:67:in `run'
     /home/santiago/Documentos/WyeWorks/Proys/rails/activesupport/lib/active_support/callbacks.rb:413:in `_run_setup_callbacks'
     /home/santiago/Documentos/WyeWorks/Proys/rails/activesupport/lib/active_support/testing/setup_and_teardown.rb:65:in `run']:
 expected but was
.

Fix provided on this patch

Reported by Santiago Pastorino · June 24th, 2010 @ 01:51 AM

State: committed
Milestone: 3.0.2
Assigned to: José Valim José Valim
Importance: Medium

Activity

  1. Santiago Pastorino
    Santiago Pastorino
    • Assigned user set to José Valim

    June 24th, 2010 @ 06:18 PM

  2. Repository
    Repository
    • State changed from verified to committed

    (from [7a7c608a26f03abb1245ff83d4e25040ad09cb44]) Your original TIME ZONE value on PostgreSQL is correctly restored now, after going through options :utc and then going back to :local

    [#4950 state:committed]

    Signed-off-by: José Valim jose.valim@gmail.com
    http://github.com/rails/rails/commit/7a7c608a26f03abb1245ff83d4e250...

    June 24th, 2010 @ 07:21 PM

  3. Jeremy Kemper
    Jeremy Kemper
    • Milestone set to 3.0.2
    • Importance changed from to Medium

    October 15th, 2010 @ 11:01 PM