summaryrefslogtreecommitdiff
path: root/test/test_time.rb
Commit message (Expand)AuthorAgeFilesLines
* Separate test used by test_ractor for Ractor in test_time.rbHiroshi SHIBATA2021-04-221-2/+4
* [ruby/time] Make Time friendly to RactorKir Shatrov2021-04-221-0/+7
* Support %U/%u/%W/%w/%V/%g/%G formats in Time.strptimeJeremy Evans2019-11-211-0/+11
* Test for "%p" in Time.strptimenobu2019-01-081-0/+19
* Fix mday overflownobu2019-01-061-0/+4
* Time.parse based from non-Time objectnobu2018-10-091-0/+19
* time.rb: yday supportnobu2018-07-241-0/+10
* time.rb: fix parsing time zone in iso8601nobu2018-05-281-0/+1
* time.rb: fix parsing time zone in iso8601nobu2018-05-281-0/+1
* Make Time.parse respect timezone offset secondsnobu2017-10-201-0/+7
* Time.parse's "now" argument as nil works again.akr2016-11-051-0/+5
* * lib/time.rb: revert r54167 because it would breaksonots2016-04-191-32/+0
* * lib/time.rb (parse, strptime): Fix Time.parse/strptime does notsonots2016-03-171-0/+32
* * lib/time.rb: Specify frozen_string_literal: true.akr2015-11-141-0/+2
* add tests for strptime("%s.%N").akr2015-03-011-0/+11
* test_time.rb: fix method to testnobu2014-12-301-7/+7
* * test/lib/envutil.rb: Moved from test/ruby/.akr2014-11-131-1/+0
* test_time.rb: test_iso8601nobu2014-10-311-76/+85
* Fix `Time.parse` for out of range arguments with an offsetnobu2014-07-191-0/+3
* * lib/time.rb (Time.make_time): Adjust the time zone of "now".akr2014-05-061-0/+8
* add a comment.akr2014-05-051-1/+1
* * lib/time.rb (Time.strptime): Raise ArgumentError if Date._strptimeakr2014-05-051-0/+5
* * lib/time.rb (Time.rfc2822): Fix year completion.akr2014-05-031-23/+43
* * lib/time.rb (make_time): Produce fixed-offset time object ifakr2014-05-031-0/+13
* add tests.akr2014-05-031-2/+17
* * lib/time.rb (Time.strptime): Use d[:offset] if d[:seconds] is notakr2014-05-031-0/+1
* * lib/time.rb (Time.strptime): Time.strptime('0', '%s') returns localakr2013-10-071-1/+1
* * lib/time.rb (Time.strptime): Use :offset.akr2013-10-071-0/+2
* * lib/time.rb (Time#xmlschema): use strftime specifiers instead ofnobu2012-02-281-0/+7
* * lib/time.rb (Time.strptime): use Time.at if d[:seconds] is set.naruse2011-10-041-0/+1
* * strftime.c (rb_strftime_with_timespec): improved style consistency.yugui2011-05-311-0/+6
* add an assertion.akr2010-06-241-0/+2
* * strftime.c: %Y format a year with 4 digits at least.akr2009-11-241-0/+9
* * time.c (rb_gmtime, rb_localtime): gmtime and localtime returnnobu2009-05-251-1/+1
* * test/test_time.rb: make tests timezone independent.akr2009-05-181-2/+2
* * lib/time.rb (Time#rfc2822): pad leading zeros for year.akr2009-04-211-0/+13
* * lib/time.rb (Time#xmlschema): use subsec instead of nsec.akr2009-04-211-0/+12
* * lib/time.rb (Time.parse): raise ArgumentError if Date._parse don'takr2009-02-141-0/+1
* * test/test_time.rb: extracted from lib/time.rb.akr2009-02-141-4/+363
* * test/test_*.rb: Pathname#parent -> Pathname#dirname.nahi2004-01-131-2/+2
* * test/inlinetest.rb, test/{test_generator.rb,test_ipaddr.rb,nahi2004-01-061-0/+4