summaryrefslogtreecommitdiffstats
path: root/lib/date.rb
Commit message (Collapse)AuthorAgeFilesLines
* merge revision(s) 19707:shyouhei2009-01-291-2/+13
| | | | | | | | * lib/date.rb (today,now): should produce own instances. [ruby-talk:317020] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@21864 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 15084:shyouhei2008-12-311-2/+2
| | | | | | | | | | | * lib/date.rb (Date::Infinity#<=>): didn't work. A patch from Dirkjan Bussink <d.bussink AT gmail.com> [ruby-core:15098]. This is a bug obviously. However it didn't affect the library's functions. * lib/date.rb, lib/date/format.rb: some trivial changes. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@21222 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* merge revision(s) 14465:shyouhei2008-06-071-2/+2
| | | | | | | | * lib/date.rb: don't freeze nil even if 1.8 will not be aware of the issue. [ruby-dev:32677] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8_6@17002 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Revert r11453matz2007-01-031-184/+224
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (ruby_dup): start GC on ENOMEM as well.matz2007-01-031-224/+184
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11453 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* updated based on date2 4.0.tadf2006-12-301-184/+224
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11433 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* updated based on date2 3.9.7.tadf2006-11-051-9/+37
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11279 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* updated based on date2 3.9.5.tadf2006-10-131-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11158 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * lib/date.rb (Date::self.complete_hash): need to check if g ismatz2006-10-121-1/+1
| | | | | | | nil before dereference. [ruby-core:09116] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11146 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* updated based on date2 3.9.4.tadf2006-09-301-28/+93
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11055 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* updated based on date2 3.9.3.tadf2006-09-241-14/+88
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@11005 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* updated based on date2 3.9.2.tadf2006-09-221-65/+70
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10996 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* updated based on date2 3.9.1.tadf2006-09-101-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10906 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* updated based on date2 3.9.tadf2006-09-041-1/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10856 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* updated based on date2 3.8.2.tadf2006-08-251-59/+227
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10781 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* fixed an issue about mathn.tadf2006-06-211-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@10361 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * string.c (rb_str_cmp_m): should not return false but nil.matz2005-03-071-1/+1
| | | | | | | | | | fixed: [ruby-dev:25811] * lib/cgi-lib.rb: add deprecation warning. [ruby-dev:25499] getopts.rb, parsearg.rb, importenv.rb as well. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@8096 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* synchronized with date2 3.6.3tadf2005-02-061-4/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@7896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c (define_final): should not disclose NODE* to Ruby world.matz2004-07-231-2/+2
| | | | | | | [ruby-dev:23957] git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6691 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * gc.c, parse.y, lib/cgi.rb, lib/date.rb: last minute backports from HEAD.matz2004-07-141-1/+7
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6628 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * dln.c, io.c, lib/benchmark.rb, lib/cgi.rb, lib/csv.rb, lib/date.rb,nobu2004-04-181-4/+4
| | | | | | | | | | | | | lib/ftools.rb, lib/getoptlong.rb, lib/logger.rb, lib/matrix.rb, lib/monitor.rb, lib/set.rb, lib/thwait.rb, lib/timeout.rb, lib/yaml.rb, lib/drb/drb.rb, lib/irb/workspace.rb, lib/net/ftp.rb, lib/net/http.rb, lib/net/imap.rb, lib/net/telnet.rb, lib/racc/parser.rb, lib/rinda/rinda.rb, lib/rinda/tuplespace.rb, lib/shell/command-processor.rb, lib/soap/rpc/soaplet.rb, lib/test/unit/testcase.rb, lib/test/unit/testsuite.rb: typo fix. git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* synchronized with date2 3.6.tadf2004-03-201-4/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@5981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* synchronized with date2 3.5.tadf2004-01-181-61/+53
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@5495 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Added RDoc documentation.wew2003-08-231-5/+764
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@4435 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use warn() instead of $stderr.puts().tadf2003-05-181-6/+6
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3815 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use $deferr instead of $stderr.tadf2003-05-181-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3814 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * sample/test.rb: substitute 'select' with 'values_at'.eban2003-05-051-2/+2
| | | | | | | | * lib/date.rb: ditto. * lib/parsedate.rb: ditto. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3756 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (arg): parse 'lhs = a rescue b' as 'lhs=(a rescue b)'.matz2003-03-031-2/+2
| | | | | | | | * io.c (rb_io_fread): should not clearerr() if there's no filled buffer (i.e. rb_io_fread() returning zero). git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@3543 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* use Object#class instead of deprecated Object#type.nobu2002-10-021-25/+25
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2927 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* updated to the new version (based on date2 3.3).tadf2002-06-221-121/+156
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2589 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* updated to the new version (based on date2 3.2.1).tadf2002-05-181-162/+351
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2467 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * parse.y (arg): "||=" should not warn for uninitialized instancematz2001-05-071-4/+1
| | | | | | | | | | | variables. * eval.c (rb_eval): ditto. * eval.c (eval): preserve and restore ruby_cref as well. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1371 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* forgot some checkins.matz2001-05-061-1/+4
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1363 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* * io.c (rb_io_s_read): new method to call IO#read frommatz2001-01-181-20/+18
| | | | | | | | pathname. In addition, it accepts third optional argument to specify starting point. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1137 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* 001225matz2000-12-251-0/+1
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1075 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* matzmatz2000-12-181-2/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@1065 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* matz - date/date2 integrationmatz2000-07-181-256/+304
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@839 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* matzmatz2000-07-101-6/+2
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@820 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* matzmatz2000-07-061-5/+49
| | | | git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* This commit was generated by cvs2svn to compensate for changes in r372,matz1999-01-201-30/+61
| | | | | | | which included commits to RCS files with non-trunk default branches. git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@373 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
* Initial revisionmatz1998-01-161-0/+227
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@2 b2dd03c8-39d4-4d8f-98ff-823fe69b080e