Project

General

Profile

Actions

Bug #4975

closed

DateTime.civil calculates seconds incorrectly with fractional offsets

Added by jfelchner (Jeff Felchner) over 13 years ago. Updated over 13 years ago.

Status:
Rejected
Target version:
-
ruby -v:
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.7.4]
Backport:
[ruby-core:37788]

Description

Ruby Version 1.9.2p180

DateTime.civil(2011, 5, 13, 17, 31, 13, -0.25).sec # => 12

Actions

Also available in: Atom PDF

Like0
Like0Like0