ruby-changes:23261
From: tadf <ko1@a...>
Date: Thu, 12 Apr 2012 19:53:09 +0900 (JST)
Subject: [ruby-changes:23261] tadf:r35312 (trunk): * ext/date/date_core.c: added some notes.
tadf 2012-04-12 19:52:58 +0900 (Thu, 12 Apr 2012) New Revision: 35312 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=35312 Log: * ext/date/date_core.c: added some notes. Modified files: trunk/ChangeLog trunk/ext/date/date_core.c Index: ChangeLog =================================================================== --- ChangeLog (revision 35311) +++ ChangeLog (revision 35312) @@ -1,3 +1,7 @@ +Thu Apr 12 19:51:45 2012 Tadayoshi Funaba <tadf@d...> + + * ext/date/date_core.c: added some notes. + Wed Apr 11 17:16:49 2012 Koichi Sasada <ko1@a...> * compile.c (compile_array, compile_array_): Index: ext/date/date_core.c =================================================================== --- ext/date/date_core.c (revision 35311) +++ ext/date/date_core.c (revision 35312) @@ -4205,8 +4205,9 @@ * Date._strptime(string[, format='%F']) -> hash * * Parses the given representation of date and time with the given - * template, and returns a hash of parsed elements. - * + * template, and returns a hash of parsed elements. _strptime does + * not support specification of flags and width unlike strftime. + * * For example: * * Date._strptime('2001-02-03', '%Y-%m-%d') @@ -4225,7 +4226,8 @@ * Date.strptime([string='-4712-01-01'[, format='%F'[, start=ITALY]]]) -> date * * Parses the given representation of date and time with the given - * template, and creates a date object. + * template, and creates a date object. strptime does not support + * specification of flags and width unlike strftime. * * For example: * @@ -8013,7 +8015,8 @@ * DateTime._strptime(string[, format='%FT%T%z']) -> hash * * Parses the given representation of date and time with the given - * template, and returns a hash of parsed elements. + * template, and returns a hash of parsed elements. _strptime does + * not support specification of flags and width unlike strftime. * * See also strptime(3) and strftime. */ @@ -8028,7 +8031,8 @@ * DateTime.strptime([string='-4712-01-01T00:00:00+00:00'[, format='%FT%T%z'[ ,start=ITALY]]]) -> datetime * * Parses the given representation of date and time with the given - * template, and creates a date object. + * template, and creates a date object. strptime does not support + * specification of flags and width unlike strftime. * * For example: * -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/