Age | Commit message (Collapse) | Author |
|
|
|
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
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/4371
|
|
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/f6140df0ad
|
|
https://github.com/ruby/date/commit/f08175e34d
|
|
https://github.com/ruby/date/commit/d20380fc55
|
|
https://github.com/ruby/date/commit/3c002b1daa
|
|
https://github.com/ruby/date/commit/58ca6e6a3e
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3589
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3347
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3346
|
|
Notes:
Merged: https://github.com/ruby/ruby/pull/3338
|
|
|
|
|
|
https://github.com/ruby/date/commit/5f4ac92947
|
|
https://github.com/ruby/date/commit/81a057db11
|
|
https://github.com/ruby/date/commit/47cca1b76b
|
|
(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
|
|
To fix build failures.
Notes:
Merged: https://github.com/ruby/ruby/pull/3079
|
|
This shall fix compile errors.
Notes:
Merged: https://github.com/ruby/ruby/pull/3079
|
|
https://github.com/ruby/date/commit/9968eb69f0
|
|
Split ruby.h
Notes:
Merged-By: shyouhei <shyouhei@ruby-lang.org>
|
|
https://github.com/ruby/date/commit/202b2dad93
|
|
https://github.com/ruby/date/commit/9bc6e30a82
|
|
This gets the time zone abbreviations from
https://www.timeanddate.com/time/zones/, and adds unambiguous time
zones not already present in zonetab.list. See bin/update-abbr
for the program used.
This regenerates zonetab.h using prereq.mk (requires gperf).
Only one test line is added, just to make sure a new time zone
abbreviation is picked up.
Fixes Ruby Bug 16286
https://github.com/ruby/date/commit/702e8b3033
|
|
This reverts commit af01edd7d8575f544f647dbe8cde5b6ae535d459.
Revert requested by Yui Naruse.
https://github.com/ruby/date/commit/875d563557
|
|
"invalid <anything>" type of exception
https://github.com/ruby/date/commit/3e55c09ba4
|
|
Add a test for this case.
Notes:
Merged: https://github.com/ruby/ruby/pull/2605
|
|
Gem::Specification#add_development_dependency.
https://github.com/ruby/date/commit/13c94362c2
|
|
https://github.com/ruby/date/commit/8c02586a98
|