<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ruby.git/ext/date/date_core.c, branch ruby_2_7</title>
<subtitle>The Ruby Programming Language</subtitle>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/'/>
<entry>
<title>Merge date-3.0.3</title>
<updated>2021-11-24T08:55:25+00:00</updated>
<author>
<name>Hiroshi SHIBATA</name>
<email>hsbt@ruby-lang.org</email>
</author>
<published>2021-11-24T07:28:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=ade896702e58b8b2505998345c15c3987bdf278b'/>
<id>ade896702e58b8b2505998345c15c3987bdf278b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/date] Revert "Simplify #inspect"</title>
<updated>2019-10-31T06:51:30+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2019-10-27T01:20:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=3895e548bd2d75cdf47cd247e84d6071247dd3b3'/>
<id>3895e548bd2d75cdf47cd247e84d6071247dd3b3</id>
<content type='text'>
This reverts commit af01edd7d8575f544f647dbe8cde5b6ae535d459.

Revert requested by Yui Naruse.

https://github.com/ruby/date/commit/875d563557
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit af01edd7d8575f544f647dbe8cde5b6ae535d459.

Revert requested by Yui Naruse.

https://github.com/ruby/date/commit/875d563557
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/date] introduce Date::Error, raise Date::Error for every</title>
<updated>2019-10-31T06:51:25+00:00</updated>
<author>
<name>glaszig</name>
<email>glaszig@gmail.com</email>
</author>
<published>2019-08-09T00:41:47+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=fce940aac722575a78cd4cbe5f86dd3f3b40d13c'/>
<id>fce940aac722575a78cd4cbe5f86dd3f3b40d13c</id>
<content type='text'>
"invalid &lt;anything&gt;" type of exception

https://github.com/ruby/date/commit/3e55c09ba4
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
"invalid &lt;anything&gt;" type of exception

https://github.com/ruby/date/commit/3e55c09ba4
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typo causing Date.new(year, month) to fail</title>
<updated>2019-10-24T19:34:51+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2019-10-24T16:35:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=5fe8943fdaf765dc01d986abafe85bd3eafb7814'/>
<id>5fe8943fdaf765dc01d986abafe85bd3eafb7814</id>
<content type='text'>
Add a test for this case.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a test for this case.
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/date] Update docs</title>
<updated>2019-10-24T09:39:04+00:00</updated>
<author>
<name>zverok</name>
<email>zverok.offline@gmail.com</email>
</author>
<published>2019-08-11T10:56:41+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9d3a4ab05bc74d880ca25c2bf0ef48e60f8199af'/>
<id>9d3a4ab05bc74d880ca25c2bf0ef48e60f8199af</id>
<content type='text'>
https://github.com/ruby/date/commit/8c02586a98
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/date/commit/8c02586a98
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/date] Simplify #inspect</title>
<updated>2019-10-24T09:39:04+00:00</updated>
<author>
<name>zverok</name>
<email>zverok.offline@gmail.com</email>
</author>
<published>2019-08-11T10:50:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=913807bd6ce98d3d362d27caef4f5e2aef0e5d79'/>
<id>913807bd6ce98d3d362d27caef4f5e2aef0e5d79</id>
<content type='text'>
https://github.com/ruby/date/commit/af01edd7d8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/date/commit/af01edd7d8
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/date] Remove taint support</title>
<updated>2019-10-24T09:39:04+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2019-10-18T18:56:05+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=2e37c1960a0b84a9018dc0202a36daf4e692ed46'/>
<id>2e37c1960a0b84a9018dc0202a36daf4e692ed46</id>
<content type='text'>
Ruby 2.7 deprecates taint and it no longer has an effect.
The lack of taint support should not cause a problem in
previous versions.

https://github.com/ruby/date/commit/519470dc3b
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ruby 2.7 deprecates taint and it no longer has an effect.
The lack of taint support should not cause a problem in
previous versions.

https://github.com/ruby/date/commit/519470dc3b
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/date] Check for numeric arguments in constructors</title>
<updated>2019-10-24T09:39:04+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2019-07-24T15:03:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=4e40ca301cca692361627ac6db06c0f0074636f0'/>
<id>4e40ca301cca692361627ac6db06c0f0074636f0</id>
<content type='text'>
Previously, the type of these arguments were not checked, leading to
NoMethodErrors in some cases, and TypeErrors in other cases, but not
showing what field was having the problems.  This change makes it so
the field with the problem is included in the error message.

For the valid_*? methods, this changes them to return false if one
of the arguments that should be numeric is not.

Fixes Ruby Bug 11935
Fixes Ruby Misc 15298

https://github.com/ruby/date/commit/a2f4b665f8
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, the type of these arguments were not checked, leading to
NoMethodErrors in some cases, and TypeErrors in other cases, but not
showing what field was having the problems.  This change makes it so
the field with the problem is included in the error message.

For the valid_*? methods, this changes them to return false if one
of the arguments that should be numeric is not.

Fixes Ruby Bug 11935
Fixes Ruby Misc 15298

https://github.com/ruby/date/commit/a2f4b665f8
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/date] Make julian dates roundtrip through to_time.to_date</title>
<updated>2019-10-24T09:39:04+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2019-07-17T21:53:55+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9eb798a3f1de6a9e08e510904d376952d5e94d50'/>
<id>9eb798a3f1de6a9e08e510904d376952d5e94d50</id>
<content type='text'>
Previously, julian dates would not round trip through to_time.to_date,
because Time is always considered gregorian.  This converts the Date
instance from julian to gregorian before converting to Time, ensuring
that an equal date object will be returned if converting that Time
back to Date.

This does result in julian Date objects showing different day values
if converting to Time.

Fixes Ruby Bug 8428.

https://github.com/ruby/date/commit/d8df64555e
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Previously, julian dates would not round trip through to_time.to_date,
because Time is always considered gregorian.  This converts the Date
instance from julian to gregorian before converting to Time, ensuring
that an equal date object will be returned if converting that Time
back to Date.

This does result in julian Date objects showing different day values
if converting to Time.

Fixes Ruby Bug 8428.

https://github.com/ruby/date/commit/d8df64555e
</pre>
</div>
</content>
</entry>
<entry>
<title>[ruby/date] Describe what is meant by valid in the Date.valid_date? rdoc</title>
<updated>2019-07-22T08:36:20+00:00</updated>
<author>
<name>Jeremy Evans</name>
<email>code@jeremyevans.net</email>
</author>
<published>2019-06-26T23:36:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.ruby-lang.org/ruby.git/commit/?id=9095ff53cf6c25154c7f80910aab8d1af45c42ec'/>
<id>9095ff53cf6c25154c7f80910aab8d1af45c42ec</id>
<content type='text'>
https://github.com/ruby/date/commit/8eca79d1f0
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://github.com/ruby/date/commit/8eca79d1f0
</pre>
</div>
</content>
</entry>
</feed>
