Age | Commit message (Collapse) | Author |
|
It's been 2 years since ruby/date#49, so it's okay.
https://github.com/ruby/date/commit/435dfec6c8
|
|
https://github.com/ruby/date/commit/2adb917487
|
|
(https://github.com/ruby/date/pull/88)
https://github.com/ruby/date/commit/cfa7e9868b
|
|
https://github.com/ruby/date/commit/71c35b4054
|
|
https://github.com/ruby/date/commit/6bb6d3a810
|
|
|
|
|
|
https://github.com/ruby/date/commit/59a6673221
|
|
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/60bd16009d
|
|
https://github.com/ruby/date/commit/d57818f3b3
|
|
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
|
|
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
|
|
https://github.com/ruby/date/commit/404f9d2096
|
|
https://github.com/ruby/date/commit/9f3e90ad10
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3946
|
|
Probably not strictly necessary, but good principle anyways.
Notes:
Merged: https://github.com/ruby/ruby/pull/3946
|
|
https://github.com/ruby/date/commit/58ca6e6a3e
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3589
|
|
|
|
https://github.com/ruby/date/commit/5f4ac92947
|
|
https://github.com/ruby/date/commit/81a057db11
|
|
(Fixes #20)
https://github.com/ruby/date/commit/e022e8b3ce
|
|
dump (Fixes #20)
This problem exists because Marshal.load calls Date.allocate, which
uses a SimpleDateData. There doesn't seem to be any support for
taking an existing Date instance and converting it from SimpleDateData
to ComplexDateData. Work around this issue by making Date.allocate
use a ComplexDateData. This causes problems in Date#initialize,
so remove the Date#initialize method (keeping the date_initialize
function, used internally for Date.civil). Alias Date.new to
Date.civil, since they do the same thing.
https://github.com/ruby/date/commit/6bb8d8fa0f
|
|
`#define NDEBUG` produces "macro redefined" warnings when it is already
defined via cppflags
|