This project is archived and is in readonly mode.
Brasilia Timezone
-
Leonardo Pinheiro
I suggest this patch be put on 2.1.2.
-
Kane
this patch also needs to add the sao paulo definition to active_support\vendor\tzinfo
-
Marcus Derencius
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.
-
Marcus Derencius
Sent by kane, not my. :)
-
Pratik
- 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
You could submit the tzinfo patch at http://rubyforge.org/projects/tz...
-
Geoff Buesing
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
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.
-
Geoff Buesing
@Kane - makes sense.
-
Pratik
Makes sense. Thanks for the info!
-
Repository
- State changed from new to resolved
(from [4a256d7769306a07beab936fd01c95ae621c9984]) Fix Brasilia timezone. [#1180 Brasilia Timezone state:resolved] http://github.com/rails/rails/co...
-
Repository
(from [18e7bf28655cfd9253239963256609edb9fa5a53]) Fix Brasilia timezone. [#1180 Brasilia Timezone state:resolved] http://github.com/rails/rails/co...
-
Marcus Derencius
thanks you.
