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

ruby-changes:24569

From: tadf <ko1@a...>
Date: Sun, 5 Aug 2012 06:59:38 +0900 (JST)
Subject: [ruby-changes:24569] tadf:r36620 (trunk): * ext/date/date_{core,strftime}.c: .

tadf	2012-08-05 06:57:48 +0900 (Sun, 05 Aug 2012)

  New Revision: 36620

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

  Log:
    * ext/date/date_{core,strftime}.c: [ruby-core:46990].

  Modified files:
    trunk/ChangeLog
    trunk/ext/date/date_core.c
    trunk/ext/date/date_strftime.c

Index: ChangeLog
===================================================================
--- ChangeLog	(revision 36619)
+++ ChangeLog	(revision 36620)
@@ -1,3 +1,7 @@
+Sun Aug  5 06:55:10 2012  Tadayoshi Funaba  <tadf@d...>
+
+	* ext/date/date_{core,strftime}.c: [ruby-core:46990].
+
 Sat Aug  4 22:56:20 2012  Narihiro Nakamura  <authornari@g...>
 
 	* gc.c: use inline functions instead of macros, and close up
Index: ext/date/date_core.c
===================================================================
--- ext/date/date_core.c	(revision 36619)
+++ ext/date/date_core.c	(revision 36620)
@@ -7008,7 +7008,7 @@
  *
  *    Seconds since the Unix Epoch:
  *      %s - Number of seconds since 1970-01-01 00:00:00 UTC.
- *      %Q - Number of microseconds since 1970-01-01 00:00:00 UTC.
+ *      %Q - Number of milliseconds since 1970-01-01 00:00:00 UTC.
  *
  *    Literal string:
  *      %n - Newline character (\n)
@@ -8469,7 +8469,7 @@
  *
  *    Seconds since the Unix Epoch:
  *      %s - Number of seconds since 1970-01-01 00:00:00 UTC.
- *      %Q - Number of microseconds since 1970-01-01 00:00:00 UTC.
+ *      %Q - Number of milliseconds since 1970-01-01 00:00:00 UTC.
  *
  *    Literal string:
  *      %n - Newline character (\n)
Index: ext/date/date_strftime.c
===================================================================
--- ext/date/date_strftime.c	(revision 36619)
+++ ext/date/date_strftime.c	(revision 36620)
@@ -346,7 +346,7 @@
 	    i = 2;
 	    break;
 
-	  case 'Q':	/* microseconds since Unix epoch */
+	  case 'Q':	/* milliseconds since Unix epoch */
 	    FMTV('0', 1, "d", tmx_msecs);
 	    continue;
 

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

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