From 16dc9e04cbedff54c12235ae81121ce2f4acad1e Mon Sep 17 00:00:00 2001 From: akr Date: Tue, 21 Apr 2009 16:43:15 +0000 Subject: * 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 --- NEWS | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'NEWS') 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 -- cgit v1.2.3