summaryrefslogtreecommitdiffstats
path: root/NEWS
diff options
context:
space:
mode:
authorakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-04-21 16:43:15 +0000
committerakr <akr@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-04-21 16:43:15 +0000
commit56d3029190b1397fa6ed9fb7eef71b9322d47b6f (patch)
tree30a16018a174c210d20a8999b6ce81c233b72000 /NEWS
parentaa157c9a5df5d6b71d7e92d233f15ba27cb952ba (diff)
downloadruby-56d3029190b1397fa6ed9fb7eef71b9322d47b6f.tar.gz
ruby-56d3029190b1397fa6ed9fb7eef71b9322d47b6f.tar.xz
ruby-56d3029190b1397fa6ed9fb7eef71b9322d47b6f.zip
* time.c (time_arg): use the year argument as-is. [ruby-dev:38194]
* lib/time.rb (Time.parse): interpret small year 0..99 as 1950..2049. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@23247 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'NEWS')
-rw-r--r--NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/NEWS b/NEWS
index fb926b590..8427bc167 100644
--- a/NEWS
+++ b/NEWS
@@ -52,6 +52,11 @@ with all sufficient information, see the ChangeLog file.
* time_t restriction is removed to represent before 1901 and after 2038.
Proleptic Gregorian calendar is used for old dates.
+ * incompatible changes:
+ * The year argument of Time.{utc,gm,local,mktime} is now interpreted as
+ the value itself. For example, Time.utc(99) means the year 99 AD,
+ not 1999 AD.
+
* Kernel
* extended methods:
* respond_to? returns false for methods which simply raise