summaryrefslogtreecommitdiff
path: root/lib/time.rb
AgeCommit message (Expand)Author
2019-11-21Support %U/%u/%W/%w/%V/%g/%G formats in Time.strptimeJeremy Evans
2019-11-06Time#strftime does not support `%Q`Kazuhiro NISHIYAMA
2019-01-06Fix mday overflownobu
2018-12-03Remove `(nanosecond)` too [ci skip]kazu
2018-12-03time.rb: remove the unsupported formatting options from the document [ci skip]okkez
2018-11-29Remove unused variable in example code [ci skip]kazu
2018-11-29time.rb: Move documents and stop othersnobu
2018-10-09Time.parse based from non-Time objectnobu
2018-09-01[DOC] Add %Q and %+ to strptime [ci skip]kazu
2018-07-24time.rb: yday supportnobu
2018-05-28time.rb: fix parsing time zone in iso8601nobu
2018-05-28time.rb: fix parsing time zone in iso8601nobu
2018-03-28Use Regexp#match? in time.rb for conditionalsnobu
2017-10-20Make Time.parse respect timezone offset secondsnobu
2016-11-05Time.parse's "now" argument as nil works again.akr
2016-04-19* lib/time.rb: revert r54167 because it would breaksonots
2016-03-17* lib/time.rb (parse, strptime): Fix Time.parse/strptime does notsonots
2015-11-14* lib/time.rb: Use "<<" to reduce string allocation.akr
2015-11-14* lib/time.rb: Specify frozen_string_literal: true.akr
2015-03-01* lib/time.rb (strptime): Support %s.%N.akr
2015-01-01[DOC]akr
2014-07-27* time.c: [DOC] Clarify %Y in strftime, which can accept any digitszzak
2014-07-19Fix `Time.parse` for out of range arguments with an offsetnobu
2014-05-06* lib/time.rb (Time.make_time): Adjust the time zone of "now".akr
2014-05-06* lib/time.rb (Time.make_time): Argument validation code moved fromakr
2014-05-06[DOC] Use EST for previous documentation fix.akr
2014-05-06* lib/time.rb (Time.parse): [DOC] Fix an example in the documentation.akr
2014-05-05* lib/time.rb (Time.strptime): Raise ArgumentError if Date._strptimeakr
2014-05-04update a comment.akr
2014-05-04add comment.akr
2014-05-04* lib/time.rb (Time.force_zone!): Use usual local time if it hasakr
2014-05-04* lib/time.rb (Time.force_zone!): New private method.akr
2014-05-03* lib/time.rb (Time.httpdate): Always return a UTC Time object.akr
2014-05-03* lib/time.rb (Time.make_time): Refactored.akr
2014-05-03* lib/time.rb (Time.rfc2822): Fix year completion.akr
2014-05-03* lib/time.rb (make_time): Produce fixed-offset time object ifakr
2014-05-03* lib/time.rb (Time.strptime): Use d[:offset] if d[:seconds] is notakr
2014-03-16* lib/time.rb: [DOC] Fix timezone in example of Time.parse [Bug #9521]zzak
2013-12-26* lib/time.rb: [DOC] Fix typoa_matsuda
2013-10-07* lib/time.rb (Time.strptime): Time.strptime('0', '%s') returns localakr
2013-10-07* lib/time.rb: [DOC] typo in Time.rb overview by @srt32 [Fixes GH-416]zzak
2013-10-07* lib/time.rb (Time.strptime): Use :offset.akr
2013-08-11* lib/time.rb: [DOC] Correcting rdoc visibility of time.rb constantszzak
2013-08-10* lib/time.rb: [DOC] Document constants by @markijbema [Fixes GH-377]zzak
2012-02-28* lib/time.rb (Time#xmlschema): use strftime specifiers instead ofnobu
2011-10-06* lib/time.rb: Clean up Time documentation. Patch by Jake Goulding.drbrain
2011-10-06* time.c (Init_Time): Improve Time documentation. Patch by Shanedrbrain
2011-10-04* lib/time.rb (Time.strptime): use Time.at if d[:seconds] is set.naruse
2011-08-16duplicated statement removed in comment.akr
2011-05-08 * lib/time.rb (xmlschema): avoid passing any negative numbers.tadf