Bug #1972: Changing ENV['TZ'] of a running process should change behavior of Time
http://redmine.ruby-lang.org/issues/show/1972

Author: Shri Borde
Status: Open, Priority: Normal
ruby -v: 1.9.1p129

Running the attached rb1.rb prints "EST AST EST AST" on Mac OS and Linux. But it prints the following output on Windows Vista with 1.8.6p287 as well as 1.9.1p129.

Ame
Asi
Pacific Standard Time
Pacific Standard Time

On non-Windows, the last two lines printed are different from each other. On Windows, they are the same.

Also, while the first two lines are different from each other on both Windows and non-Windows, the results do not match across Windows and non-Windows.


----------------------------------------
http://redmine.ruby-lang.org