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

ruby-changes:24529

From: drbrain <ko1@a...>
Date: Tue, 31 Jul 2012 06:18:59 +0900 (JST)
Subject: [ruby-changes:24529] drbrain:r36580 (trunk): * time.c (time_sec): Remove extra wording about leap seconds and refer

drbrain	2012-07-31 06:18:29 +0900 (Tue, 31 Jul 2012)

  New Revision: 36580

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=36580

  Log:
    * time.c (time_sec):  Remove extra wording about leap seconds and refer
      directly to Wikipedia's leap second page for further information.
      [Bug #6749]

  Modified files:
    trunk/ChangeLog
    trunk/time.c

Index: time.c
===================================================================
--- time.c	(revision 36579)
+++ time.c	(revision 36580)
@@ -3884,12 +3884,11 @@
  *     time.sec -> fixnum
  *
  *  Returns the second of the minute (0..60) for <i>time</i>.
- *  <em>[Yes, seconds really can range from zero to 60. This allows the
- *  system to inject leap seconds every now and then to correct for the
- *  fact that UTC is based on solar time so days are not exactly 86400
- *  seconds or 24 hours long.  See http://en.wikipedia.org/wiki/Leap_second
- *  for further details.]</em>
  *
+ *  <em>[Yes, seconds range from zero to 60.  This allows the system to inject
+ *  leap seconds.  See http://en.wikipedia.org/wiki/Leap_second for further
+ *  details.]</em>
+ *
  *     t = Time.now   #=> 2007-11-19 08:25:02 -0600
  *     t.sec          #=> 2
  */
Index: ChangeLog
===================================================================
--- ChangeLog	(revision 36579)
+++ ChangeLog	(revision 36580)
@@ -1,3 +1,9 @@
+Tue Jul 31 06:18:06 2012  Eric Hodel  <drbrain@s...>
+
+	* time.c (time_sec):  Remove extra wording about leap seconds and refer
+	  directly to Wikipedia's leap second page for further information.
+	  [Bug #6749]
+
 Mon Jul 30 23:01:47 2012  NARUSE, Yui  <naruse@r...>
 
 	* lib/rubygems/platform.rb (Gem::Platform#initialize): Support pattern

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

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