summaryrefslogtreecommitdiff
path: root/lib/time.rb
Commit message (Expand)AuthorAgeFilesLines
* * lib/time.rb: revert r54167 because it would breaksonots2016-04-191-13/+7
* * lib/time.rb (parse, strptime): Fix Time.parse/strptime does notsonots2016-03-171-7/+13
* * lib/time.rb: Use "<<" to reduce string allocation.akr2015-11-141-1/+1
* * lib/time.rb: Specify frozen_string_literal: true.akr2015-11-141-0/+2
* * lib/time.rb (strptime): Support %s.%N.akr2015-03-011-1/+7
* [DOC]akr2015-01-011-1/+1
* * time.c: [DOC] Clarify %Y in strftime, which can accept any digitszzak2014-07-271-1/+1
* Fix `Time.parse` for out of range arguments with an offsetnobu2014-07-191-1/+2
* * lib/time.rb (Time.make_time): Adjust the time zone of "now".akr2014-05-061-2/+15
* * lib/time.rb (Time.make_time): Argument validation code moved fromakr2014-05-061-9/+7
* [DOC] Use EST for previous documentation fix.akr2014-05-061-4/+4
* * lib/time.rb (Time.parse): [DOC] Fix an example in the documentation.akr2014-05-061-7/+7
* * lib/time.rb (Time.strptime): Raise ArgumentError if Date._strptimeakr2014-05-051-0/+3
* update a comment.akr2014-05-041-2/+2
* add comment.akr2014-05-041-0/+4
* * lib/time.rb (Time.force_zone!): Use usual local time if it hasakr2014-05-041-1/+4
* * lib/time.rb (Time.force_zone!): New private method.akr2014-05-041-8/+15
* * lib/time.rb (Time.httpdate): Always return a UTC Time object.akr2014-05-031-1/+1
* * lib/time.rb (Time.make_time): Refactored.akr2014-05-031-5/+1
* * lib/time.rb (Time.rfc2822): Fix year completion.akr2014-05-031-12/+17
* * lib/time.rb (make_time): Produce fixed-offset time object ifakr2014-05-031-4/+12
* * lib/time.rb (Time.strptime): Use d[:offset] if d[:seconds] is notakr2014-05-031-6/+6
* * lib/time.rb: [DOC] Fix timezone in example of Time.parse [Bug #9521]zzak2014-03-161-1/+1
* * lib/time.rb: [DOC] Fix typoa_matsuda2013-12-261-1/+1
* * lib/time.rb (Time.strptime): Time.strptime('0', '%s') returns localakr2013-10-071-2/+5
* * lib/time.rb: [DOC] typo in Time.rb overview by @srt32 [Fixes GH-416]zzak2013-10-071-1/+1
* * lib/time.rb (Time.strptime): Use :offset.akr2013-10-071-1/+2
* * lib/time.rb: [DOC] Correcting rdoc visibility of time.rb constantszzak2013-08-111-16/+5
* * lib/time.rb: [DOC] Document constants by @markijbema [Fixes GH-377]zzak2013-08-101-0/+13
* * lib/time.rb (Time#xmlschema): use strftime specifiers instead ofnobu2012-02-281-13/+5
* * lib/time.rb: Clean up Time documentation. Patch by Jake Goulding.drbrain2011-10-061-58/+71
* * time.c (Init_Time): Improve Time documentation. Patch by Shanedrbrain2011-10-061-34/+121
* * lib/time.rb (Time.strptime): use Time.at if d[:seconds] is set.naruse2011-10-041-3/+7
* duplicated statement removed in comment.akr2011-08-161-1/+0
* * lib/time.rb (xmlschema): avoid passing any negative numbers.tadf2011-05-081-1/+1
* * lib/time.rb: require 'date'.tadf2011-04-241-1/+1
* update comment.akr2011-01-121-1/+5
* rdoc update.akr2009-11-261-0/+28
* * strftime.c: %Y format a year with 4 digits at least.akr2009-11-241-6/+6
* update rdoc.akr2009-04-231-1/+1
* * lib/time.rb (Time.parse): use year completion in Date._parse.akr2009-04-221-16/+3
* * lib/time.rb (Time#rfc2822): pad leading zeros for year.akr2009-04-211-3/+3
* * lib/time.rb (Time#xmlschema): use subsec instead of nsec.akr2009-04-211-3/+1
* * time.c (time_arg): use the year argument as-is. [ruby-dev:38194]akr2009-04-211-1/+15
* * {ext,lib,test}/**/*.rb: removed trailing spaces.nobu2009-03-061-1/+1
* rdoc update.akr2009-02-151-5/+5
* * lib/time.rb (Time.parse): raise ArgumentError if Date._parse don'takr2009-02-141-3/+8
* remove Id keyword.akr2009-02-141-4/+0
* * test/test_time.rb: extracted from lib/time.rb.akr2009-02-141-364/+0
* add comment and test.akr2008-11-261-2/+32