This project is archived and is in readonly mode.
Brasilia Timezone
Reported by Marcus Derencius | October 6th, 2008 @ 08:16 PM
Hi,
Brasilia timezone is wrongly set in active_support/values/time_zone.rb.
Where it is set:
"Brasilia" => "America/Argentina/Buenos_Aires"
it should be
"Brasilia" => "America/Sao_Paulo"
Thanks Marcus
Comments and changes to this ticket
-
Kane October 9th, 2008 @ 11:11 PM
this patch also needs to add the sao paulo definition to active_support\vendor\tzinfo
-
Marcus Derencius October 10th, 2008 @ 02:38 PM
Here is the patch including Sao_Paulo.rb definition sent my Kane.
Kane, If you want, you can edit the patch and define your email as the author of Sao_Paulo.rb file. Fell free.
-
Pratik October 14th, 2008 @ 01:32 PM
- Assigned user set to Geoff Buesing
- Milestone cleared.
Oops. Could you please submit a patch to tzinfo project ? Rails doesn't really tend to monkey patch vendored gems. And the tzinfo maintainer Philip Ross has been very prompt in my experience.
Once it gets committed to tzinfo, we could bump up the vendored version in Rails and apply this patch.
Thanks!
-
Pratik October 14th, 2008 @ 01:33 PM
You could submit the tzinfo patch at http://rubyforge.org/projects/tz...
-
Geoff Buesing October 14th, 2008 @ 02:38 PM
As I understand it, this patch doesn't actually change TzInfo -- it just points the ActiveSupport::TimeZone['Brasilia'] instance to TzInfo's existing "America/Sao_Paulo" definition instead of the "America/Argentina/Buenos_Aires" definition.
(Fyi, the version of TzInfo bundled in ActiveSupport includes a subset of the zones included in the TzInfo gem.)
Could the authors of this patch confirm that the included time zone definition is pulled straight from TzInfo without any changes?
-
Kane October 14th, 2008 @ 04:36 PM
hi Sao_Paulo.rb is directly from tzinfo 0.3.11
i suggest to commit the first patch from marcus derencius and to update the bundled tzinfo to 0.3.11 and include the nessecary definitions.
-
Repository October 17th, 2008 @ 10:46 PM
- State changed from new to resolved
(from [4a256d7769306a07beab936fd01c95ae621c9984]) Fix Brasilia timezone. [#1180 state:resolved] http://github.com/rails/rails/co...
-
Repository October 17th, 2008 @ 10:46 PM
(from [18e7bf28655cfd9253239963256609edb9fa5a53]) Fix Brasilia timezone. [#1180 state:resolved] http://github.com/rails/rails/co...
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
- 1180 Brasilia Timezone (from [4a256d7769306a07beab936fd01c95ae621c9984]) Fix Bra...
- 1180 Brasilia Timezone (from [18e7bf28655cfd9253239963256609edb9fa5a53]) Fix Bra...