Project

General

Profile

Actions

Bug #4221

closed

Unexpected result of Time#strftime("%s") on Windows with trunk

Added by phasis68 (Heesob Park) about 13 years ago. Updated almost 13 years ago.

Status:
Closed
Assignee:
-
Target version:
ruby -v:
ruby 1.9.3dev (2010-12-28 trunk 30412) [i386-mswin32_90]
Backport:
[ruby-core:33985]

Description

=begin
C:\work>irb
irb(main):001:0> Time.at(2000000000).strftime('%s')
=> "2000000000"
irb(main):002:0> Time.at(3000000000).strftime('%s')
=> "/.',').'"
irb(main):003:0> Time.at(4000000000).strftime('%s')
=> ".',').'"
irb(main):004:0> Time.at(5000000000).strftime('%s')
=> "705032704"
=end

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0