1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@36620 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
tadf 2012-08-04 21:57:48 +00:00
parent de0c788bb4
commit ab67ba64ca
3 changed files with 7 additions and 3 deletions

View file

@ -1,3 +1,7 @@
Sun Aug 5 06:55:10 2012 Tadayoshi Funaba <tadf@dotrb.org>
* ext/date/date_{core,strftime}.c: [ruby-core:46990].
Sat Aug 4 22:56:20 2012 Narihiro Nakamura <authornari@gmail.com>
* gc.c: use inline functions instead of macros, and close up

View file

@ -7008,7 +7008,7 @@ date_strftime_internal(int argc, VALUE *argv, VALUE self,
*
* 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 @@ dt_lite_to_s(VALUE self)
*
* 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)

View file

@ -346,7 +346,7 @@ date_strftime_with_tmx(char *s, size_t maxsize, const char *format,
i = 2;
break;
case 'Q': /* microseconds since Unix epoch */
case 'Q': /* milliseconds since Unix epoch */
FMTV('0', 1, "d", tmx_msecs);
continue;