Actions
Bug #10048
closedTime comparison broken on Windows, Ruby 1.9.3
Description
Ruby 2.0 on OSX:
Time.parse("2014-07-15 14:25:04") <= Time.now
=> true
Ruby 1.9.3 on Windows 7 Embedded:
Time.parse("2014-07-15 14:25:04") <= Time.now
=> false
Updated by usa (Usaku NAKAMURA) almost 10 years ago
- Priority changed from 5 to 3
Note that normal maintenance phase of 1.9.3 has already ended.
I can't reproduce it on my environment.
- Windows 7 x64
- ruby 1.9.3p545 (2014-02-24) [x64-mswin64_100]
Don't hide the result of ruby -v
. We are not espers.
What is shown by the following code?
p Time.parse("2014-07-15 14:25:04")
p Time.now
Updated by nobu (Nobuyoshi Nakada) almost 10 years ago
- Description updated (diff)
- Status changed from Open to Feedback
Updated by kmcd (k mcd) over 9 years ago
Not a bug - please close.
The embedded Windows system clock is incorrect.
(Not my choice to use embedded Windows).
Updated by zzak (zzak _) over 9 years ago
- Status changed from Feedback to Closed
Actions
Like0
Like0Like0Like0Like0