| Age | Commit message (Collapse) | Author |
|
https://github.com/ruby/date/commit/59a6673221
|
|
https://github.com/ruby/date/commit/dff37b3dd1
|
|
Time is always in the proleptic Gregorian calendar.
Also DateTime#to_time should convert to the Gregorian calendar first,
before extracting its components.
https://bugs.ruby-lang.org/issues/18946#change-98527
https://github.com/ruby/date/commit/b2aee75248
|
|
|
|
Treats:
::_strptime
::strptime
Adds 'Related' entry to some methods' doc.
https://github.com/ruby/date/commit/a6c2129273
|
|
(https://github.com/ruby/date/pull/68)
Treats:
::_httpdate
::_iso8601
::_jisx0301
::_parse
::_rfc2822
::_rfc3339
::_xmlschema
::httpdate
::iso8601
::jisx0301
::parse
::rfc2822
::rfc3339
::xmlschema
https://github.com/ruby/date/commit/24bdab600a
|
|
Treats:
::httpdate
#to_date
#to_time
#to_datetime
In behalf of ::httpdate, I've introduced section "Argument limit" that can be pointed to by various Date methods (similar to existing section "Argument start"). This will involve 8 already-enhanced methods plus 8 more not yet done.
https://github.com/ruby/date/commit/00326ff99c
|
|
Treats:
#===
#to_s
#inspect
#strftme
#asctime
#iso3601
#rfc3339
#rfc2822
#httpdate
#jisx0301
https://github.com/ruby/date/commit/aed66fedf6
|
|
https://github.com/ruby/date/commit/0cdbaa92e9
|
|
|
|
Treats:
#next
#<<
#>>
#next_month
#prev_month
#next_year
#prev_year
#step
#upto
#downto
https://github.com/ruby/date/commit/4246441a35
|
|
Minor edits to 11 methods' documentation.
https://github.com/ruby/date/commit/00bb7f6648
|
|
Omit private aliases from Rdoc.
https://github.com/ruby/date/commit/48f9180663
|
|
Minor changes (mostly doc-guide compliance) to 18 or so of simpler methods (getters).
https://github.com/ruby/date/commit/00e37ba2b4
|
|
Brings a dozen call-seq schemas into compliance with the doc guide.
Adds links to section "Argument start" where needed.
Revises (minorly) ::today.
Otherwise, does not disturb existing text.
https://github.com/ruby/date/commit/9aec11df50
|
|
All things commercial.
https://github.com/ruby/date/commit/9d3bc61728
|
|
https://github.com/ruby/date/commit/8eb1c780fb
Co-authored-by: Peter Zhu <peter@peterzhu.ca>
|
|
https://github.com/ruby/date/commit/e36690f70e
|
|
https://github.com/ruby/date/commit/dcc0742623
|
|
https://github.com/ruby/date/commit/91c632f156
|
|
https://github.com/ruby/date/commit/5c18ec031e
|
|
https://github.com/ruby/date/commit/fd3ae275c3
|
|
https://github.com/ruby/date/commit/ac25182c66
|
|
https://github.com/ruby/date/commit/f9ecaad2ee
|
|
https://github.com/ruby/date/commit/e80fee4f30
|
|
https://github.com/ruby/date/commit/6d7ab08ffc
|
|
https://github.com/ruby/date/commit/60bd16009d
|
|
https://github.com/ruby/date/commit/d57818f3b3
|
|
https://hackerone.com/reports/1254844
https://github.com/ruby/date/commit/2f7814cc22
|
|
https://hackerone.com/reports/1254844
https://github.com/ruby/date/commit/7ffe25e458
|
|
https://github.com/ruby/date/commit/017149e53e
|
|
Reduce backtracks at the same character classes arounding an
optional pattern.
https://github.com/ruby/date/commit/1fd15f7c49
|
|
https://github.com/ruby/date/commit/ec86dbbdc1
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/5474
|
|
|
|
https://github.com/ruby/date/commit/21d91c5f4f
|
|
An almost universal convention for gems is to expose `Namespace::VERSION`
which makes it mcuh easier when debugging etc.
Many gems extracted from ruby don't do this, even though it would be even more
useful because they ship with ruby, so it's less clear which version it is.
https://github.com/ruby/date/commit/fef7ec18d8
|
|
https://github.com/ruby/date/commit/376c65942b
|
|
Fix: https://github.com/ruby/date/issues/39
This is how versions previous to 3.2.1 behaved and Active Support
currently rely on this behavior.
https://github.com/rails/rails/blob/90357af08048ef5076730505f6e7b14a81f33d0c/activesupport/lib/active_support/values/time_zone.rb#L383-L384
Any Rails application upgrading to date `3.2.1` might run into unexpected errors.
https://github.com/ruby/date/commit/8f2d7a0c7e
|
|
`Date.parse` now raises an ArgumentError when a given date string is
longer than 128. You can configure the limit by giving `limit` keyword
arguments like `Date.parse(str, limit: 1000)`. If you pass `limit: nil`,
the limit is disabled.
Not only `Date.parse` but also the following methods are changed.
* Date._parse
* Date.parse
* DateTime.parse
* Date._iso8601
* Date.iso8601
* DateTime.iso8601
* Date._rfc3339
* Date.rfc3339
* DateTime.rfc3339
* Date._xmlschema
* Date.xmlschema
* DateTime.xmlschema
* Date._rfc2822
* Date.rfc2822
* DateTime.rfc2822
* Date._rfc822
* Date.rfc822
* DateTime.rfc822
* Date._jisx0301
* Date.jisx0301
* DateTime.jisx0301
https://github.com/ruby/date/commit/3959accef8
|
|
https://github.com/ruby/date/commit/e0a4cbc8f6
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4909
|
|
In AIX, altzone exists in the standard library but is not declared
in time.h. By 524513be399e81bb170ec88aa0d501f33cbde8c3, have_var
and try_var in mkmf recognizes a variable that exists in a library
even when it is not declared. As a result, in AIX, HAVE_ALTZONE
is defined, but compile fails due to the lack of the declaration.
|
|
%v is supposed to be the VMS date, and VMS date format uses an
uppercase month.
Ruby 1.8 used an uppercase month for %v, but the behavior was
changed without explanation in r31672.
Time#strftime still uses an uppercase month for %v, so this change
makes Date#strftime consistent with Time#strftime.
Fixes [Bug #13810]
https://github.com/ruby/date/commit/56c489fd7e
|
|
To suppress warnings at the compilation time.
https://github.com/ruby/date/commit/ff21132203
|
|
https://github.com/ruby/date/commit/7e1ffbf568
|
|
https://github.com/ruby/date/commit/de7dca353f
|
|
https://github.com/ruby/date/commit/404f9d2096
|
|
Fixes [Bug #17945]
https://github.com/ruby/date/commit/953d907238
|
|
https://github.com/ruby/date/commit/e574cc9048
|