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

ruby-changes:5103

From: knu <ko1@a...>
Date: Mon, 26 May 2008 08:41:02 +0900 (JST)
Subject: [ruby-changes:5103] Ruby:r16598 (ruby_1_8): Mention Date.parse's change.

knu	2008-05-26 08:40:48 +0900 (Mon, 26 May 2008)

  New Revision: 16598

  Modified files:
    branches/ruby_1_8/NEWS

  Log:
    Mention Date.parse's change.


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/branches/ruby_1_8/NEWS?r1=16598&r2=16597&diff_format=u

Index: ruby_1_8/NEWS
===================================================================
--- ruby_1_8/NEWS	(revision 16597)
+++ ruby_1_8/NEWS	(revision 16598)
@@ -369,6 +369,15 @@
   The old behavior was inconsistent with Ruby syntax and considered as
   a bug.
 
+* date
+
+  * Date.parse
+
+    '##.##.##' (where each '#' is a digit) is now taken as 'YY.MM.DD'
+    instead of 'MM.DD.YY'.  While the change may confuse you, you can
+    always use Date.strptime() when you know what you are dealing
+    with.
+
 * tempfile
 
   * The file name format has changed.  No dots are included by default

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

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