[前][次][番号順一覧][スレッド一覧]

ruby-reference-manual:969

From: Kazuhiro NISHIYAMA <redmine@r...>
Date: Wed, 18 Jun 2008 23:26:02 +0900
Subject: [ruby-reference-manual:969] [ReferenceManualRenewalProject - Bug #192] (Open) Time#succのタイムゾーン

チケット #192 が報告されました。 (by Kazuhiro NISHIYAMA)

----------------------------------------
Bug #192: Time#succのタイムゾーン
http://redmine.ruby-lang.org/issues/show/192

起票者: Kazuhiro NISHIYAMA
ステータス: Open
優先度: Normal
担当者: 
カテゴリ: doc
Target version: 
reporter: 
ruby_version: 


「タイムゾーンは地方時になります。」と書いてありますが、1.8.6以降はUTCの場合はUTCのままになるようです。

% ruby-1.8.5 -ve 'p Time.now.utc.succ'
ruby 1.8.5 (2006-12-25 patchlevel 12) [i686-linux]
Wed Jun 18 23:24:27 +0900 2008
% ruby-1.8.6 -ve 'p Time.now.utc.succ'
ruby 1.8.6 (2008-06-15 patchlevel 221) [i686-linux]
Wed Jun 18 14:24:29 UTC 2008
% ruby-1.8.7 -ve 'p Time.now.utc.succ'
ruby 1.8.7 (2008-06-15 patchlevel 18) [i686-linux]
Wed Jun 18 14:24:31 UTC 2008
% ruby-trunk -ve 'p Time.now.utc.succ'
ruby 1.9.0 (2008-06-16 revision 17356) [i686-linux]
2008-06-18 14:24:36 UTC
%


----------------------------------------
You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://redmine.ruby-lang.org/my/account

--
ML: ruby-reference-manual@m...
使い方: http://QuickML.com/

[前][次][番号順一覧][スレッド一覧]

->     969 2008-06-18 16:26 [redmine@r...        ] [ReferenceManualRenewalProject - Bug #192] (Open) Time#succのタイムゾーン
      1175 2008-08-03 07:17 ┗[redmine@r...        ] [ReferenceManualRenewalProject - Bug #192] (Closed) Time#succのタイムゾーン