rails/rails — pull request #3661 by lest (2011-11-17 13:04:51+00:00)
Title: rewrite DateTime.local_offset to return current offset

ActiveSupport tests is failing now for some time zones (e.g. Europe/Moscow and Europe/Minsk):

cd activesupport
TZ=Europe/Minsk rake test

This happens because current time zone is +03:00 but in 2007 year it was +02:00.
It means that we need to return current non-DST offset in `DateTime.local` instead of historical one.