[#29911] [Bug #3231] Digest Does Not Build — Charlie Savage <redmine@...>

Bug #3231: Digest Does Not Build

19 messages 2010/05/01

[#29920] [Feature #3232] Loops (while/until) should return last statement value if any, like if/unless — Benoit Daloze <redmine@...>

Feature #3232: Loops (while/until) should return last statement value if any, like if/unless

9 messages 2010/05/01

[#29997] years in Time.utc — Xavier Noria <fxn@...>

Does anyone have a precise statement about the years supported by

13 messages 2010/05/04

[#30010] [Bug #3248] extension 'tk' is finding tclConfig.sh and tkConfig.sh incorrectly — Luis Lavena <redmine@...>

Bug #3248: extension 'tk' is finding tclConfig.sh and tkConfig.sh incorrectly

9 messages 2010/05/05

[#30226] [Bug #3288] Segmentation fault - activesupport-3.0.0.beta3/lib/active_support/callbacks.rb:88 — Szymon Jeż <redmine@...>

Bug #3288: Segmentation fault - activesupport-3.0.0.beta3/lib/active_support/callbacks.rb:88

10 messages 2010/05/13

[#30358] tk doesn't startup well in doze — Roger Pack <rogerdpack2@...>

Currently with 1.9.x and tk 8.5,the following occurs

12 messages 2010/05/22

[ruby-core:30139] [Bug #3268] Time.parse is not restoring the timezone properly on Windows

From: Luis Lavena <redmine@...>
Date: 2010-05-10 22:24:21 UTC
List: ruby-core #30139
Bug #3268: Time.parse is not restoring the timezone properly on Windows
http://redmine.ruby-lang.org/issues/show/3268

Author: Luis Lavena
Status: Open, Priority: Normal
ruby -v: ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-mingw32]

Hello,

This issue has been reported by Jeremy Evans to RubyInstaller project:

http://groups.google.com/group/rubyinstaller/browse_thread/thread/1d49ca41486bba89

This simple code exposes the issue:

ruby -v -rtime -e "puts Time.now.dst?; t = Time.now.to_s; puts t; puts Time.parse(t); puts Time.parse(t).dst?"

The following is the output of all the installed Ruby versions I have:

<pre><code>
pik tags mingw ruby -rtime -e "puts Time.now.dst?; t = Time.now.to_s; puts t; puts Time.parse(t); puts Time.parse(t).dst?"
ruby 1.8.6 (2010-02-04 patchlevel 398) [i386-mingw32]

true
Mon May 10 18:21:00 -0400 2010
Mon May 10 18:21:00 -0400 2010
true

ruby 1.8.7 (2010-01-10 patchlevel 249) [i386-mingw32]

true
Mon May 10 18:21:00 -0400 2010
Mon May 10 18:21:00 -0400 2010
true

ruby 1.9.1p378 (2010-01-10 revision 26273) [i386-mingw32]

true
2010-05-10 18:21:00 -0500
2010-05-10 19:21:00 -0500
true

ruby 1.9.2dev (2010-04-23 trunk 27453) [i386-mingw32]

true
2010-05-10 18:21:01 -0400
2010-05-10 18:21:01 -0400
true
</code></pre>

As you can see, while parsed string return DST, the time for 1.9.1 is incorrect.

All other versions work correctly.

Maybe this is a missed backport to 1.9.1 branch?

Just tested ruby_1_9_1 branch:

ruby -v -rtime -e "puts Time.now.dst?; t = Time.now.to_s; puts t; puts Time.parse(t); puts Time.parse(t).dst?"
ruby 1.9.1p424 (2010-05-03 revision 27598) [i386-mingw32]
true
2010-05-10 18:23:17 -0500
2010-05-10 19:23:17 -0500
true

Same results.

Thank you.


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

In This Thread

Prev Next