summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-26 10:05:25 +0000
committertadf <tadf@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-05-26 10:05:25 +0000
commit76547ea75f68aa22df91d5df9ffd2b46361631e3 (patch)
tree6f9eed4b20fdad6f17f415a259175010e1675e73
parent43e8bf0c275988b7dc050e25058a0d0d6028976a (diff)
* ext/date/date_core.c: added description.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@35811 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ChangeLog4
-rw-r--r--ext/date/date_core.c16
2 files changed, 12 insertions, 8 deletions
diff --git a/ChangeLog b/ChangeLog
index f524334..a91ce84 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Sat May 26 19:04:34 2012 Tadayoshi Funaba <tadf@dotrb.org>
+
+ * ext/date/date_core.c: added description.
+
Sat May 26 18:14:57 2012 Tadayoshi Funaba <tadf@dotrb.org>
* ext/date/date_strftime.c: reduced the code.
diff --git a/ext/date/date_core.c b/ext/date/date_core.c
index 9f91660..3fc74af 100644
--- a/ext/date/date_core.c
+++ b/ext/date/date_core.c
@@ -6971,10 +6971,10 @@ date_strftime_internal(int argc, VALUE *argv, VALUE self,
*
* %L - Millisecond of the second (000..999)
* %N - Fractional seconds digits, default is 9 digits (nanosecond)
- * %3N millisecond (3 digits)
- * %6N microsecond (6 digits)
- * %9N nanosecond (9 digits)
- * %12N picosecond (12 digits)
+ * %3N millisecond (3 digits) %15N femtosecond (15 digits)
+ * %6N microsecond (6 digits) %18N attosecond (18 digits)
+ * %9N nanosecond (9 digits) %21N zeptosecond (21 digits)
+ * %12N picosecond (12 digits) %24N yoctosecond (24 digits)
*
* Time zone:
* %z - Time zone as hour and minute offset from UTC (e.g. +0900)
@@ -8408,10 +8408,10 @@ dt_lite_to_s(VALUE self)
*
* %L - Millisecond of the second (000..999)
* %N - Fractional seconds digits, default is 9 digits (nanosecond)
- * %3N millisecond (3 digits)
- * %6N microsecond (6 digits)
- * %9N nanosecond (9 digits)
- * %12N picosecond (12 digits)
+ * %3N millisecond (3 digits) %15N femtosecond (15 digits)
+ * %6N microsecond (6 digits) %18N attosecond (18 digits)
+ * %9N nanosecond (9 digits) %21N zeptosecond (21 digits)
+ * %12N picosecond (12 digits) %24N yoctosecond (24 digits)
*
* Time zone:
* %z - Time zone as hour and minute offset from UTC (e.g. +0900)