summaryrefslogtreecommitdiff
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
commit16dc9e04cbedff54c12235ae81121ce2f4acad1e (patch)
tree30a16018a174c210d20a8999b6ce81c233b72000 /NEWS
parent7930673c5dd0c7d20844f5abf1ca9a7c59df3132 (diff)
* 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: svn+ssh://ci.ruby-lang.org/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 fb926b5906..8427bc1675 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