Project

General

Profile

Actions

Bug #8376

closed

utc method changes original time object

Added by arjan0307 (Arjan Diepenbroek) almost 11 years ago. Updated almost 11 years ago.

Status:
Rejected
Assignee:
-
Target version:
-
ruby -v:
1.8.7, 1.9.3, 2.0.0
[ruby-core:54848]

Description

The utc method changes the original time object when called.

For example when on a system with a CET timezone.

t = Time.new(2013)
t.zone # CET
t.utc
t.zone # UTC

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0