aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/test/controller
diff options
context:
space:
mode:
authorAndrew White <andyw@pixeltrix.co.uk>2013-03-13 04:45:47 +0000
committerAndrew White <andyw@pixeltrix.co.uk>2013-03-13 05:40:25 +0000
commitba910d76509158d531c637c4ab777beb8b20e53d (patch)
tree28deec6696e38e1e341e3eea903cac5b4732182c /actionpack/test/controller
parenta0c3c1e1f796c215685e4e4bcd3e8c9178936492 (diff)
downloadrails-ba910d76509158d531c637c4ab777beb8b20e53d.tar.gz
rails-ba910d76509158d531c637c4ab777beb8b20e53d.tar.bz2
rails-ba910d76509158d531c637c4ab777beb8b20e53d.zip
Fix `ActiveSupport::TimeZone.parse` when time is a local DST jump
The previous implementation `ActiveSupport::TimeZone.parse` used `Time.parse` which applies the system time DST rules to the parsed time. Instead we now use `Time.utc` and manually apply the offset. Backport tests from: 005d910624bbfa724b638426a000c8074d4201a2 c89b6c4cdce7ee55ed3665c099d914222fe0344a 03becb13099c439f6aea5058546bc8b0b19b8db8 Fixes #9678.
Diffstat (limited to 'actionpack/test/controller')
0 files changed, 0 insertions, 0 deletions