<feed xmlns='http://www.w3.org/2005/Atom'>
<title>emacs/test/lisp/calendar/time-date-tests.el, branch bug-reference-setup</title>
<subtitle>Emacs is the extensible, customizable, self-documenting real-time display editor. 
</subtitle>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/'/>
<entry>
<title>Improve last change</title>
<updated>2020-04-03T11:21:07+00:00</updated>
<author>
<name>Eli Zaretskii</name>
</author>
<published>2020-04-03T11:21:07+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=d8dae04e5ae5cc4897c8d1af8548a0c1576137b6'/>
<id>d8dae04e5ae5cc4897c8d1af8548a0c1576137b6</id>
<content type='text'>
* lisp/calendar/time-date.el (date-days-in-month): Improve the
error message text and make sure MONTH is a number.  (Bug#40217)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/calendar/time-date.el (date-days-in-month): Improve the
error message text and make sure MONTH is a number.  (Bug#40217)
</pre>
</div>
</content>
</entry>
<entry>
<title>Error out if 'date-days-in-month' is given an invalid month</title>
<updated>2020-04-03T11:15:31+00:00</updated>
<author>
<name>Alex Branham</name>
</author>
<published>2020-03-24T23:34:14+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=f134dfa041b30a8c28484a13c2fa08f2fee27ff5'/>
<id>f134dfa041b30a8c28484a13c2fa08f2fee27ff5</id>
<content type='text'>
* lisp/calendar/time-date.el (date-days-in-month): Add test for
month validity; signal an error if it isn't.  (Bug#40217)
* test/lisp/calendar/time-date-tests.el (test-days-in-month): Add
a test for the new error.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/calendar/time-date.el (date-days-in-month): Add test for
month validity; signal an error if it isn't.  (Bug#40217)
* test/lisp/calendar/time-date-tests.el (test-days-in-month): Add
a test for the new error.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update copyright year to 2020</title>
<updated>2020-01-01T00:59:52+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2020-01-01T00:19:43+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=365e01cc9f64ce6ca947ccfd8612d60763280a37'/>
<id>365e01cc9f64ce6ca947ccfd8612d60763280a37</id>
<content type='text'>
Run "TZ=UTC0 admin/update-copyright $(git ls-files)".
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Run "TZ=UTC0 admin/update-copyright $(git ls-files)".
</pre>
</div>
</content>
</entry>
<entry>
<title>Subtracting “now” from “now” should yield zero</title>
<updated>2019-08-17T01:12:24+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2019-08-17T01:08:23+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=f6dd46cba8b144cf1653f8314a4b629beee11be3'/>
<id>f6dd46cba8b144cf1653f8314a4b629beee11be3</id>
<content type='text'>
* src/timefns.c (time_arith): Arrange for (time-subtract nil
nil) to yield 0, to be consistent with (time-equal-p nil nil).
* test/lisp/calendar/time-date-tests.el (test-time-since): New test.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* src/timefns.c (time_arith): Arrange for (time-subtract nil
nil) to yield 0, to be consistent with (time-equal-p nil nil).
* test/lisp/calendar/time-date-tests.el (test-time-since): New test.
</pre>
</div>
</content>
</entry>
<entry>
<title>format-time-string subsumes time-zone-format</title>
<updated>2019-08-01T02:24:13+00:00</updated>
<author>
<name>Paul Eggert</name>
</author>
<published>2019-08-01T02:21:50+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=f8f1c8c33a0a8fa117bf06e3b34865dea48eb6a1'/>
<id>f8f1c8c33a0a8fa117bf06e3b34865dea48eb6a1</id>
<content type='text'>
* lisp/calendar/time-date.el (time-zone-format):
* test/lisp/calendar/time-date-tests.el (test-time-zone-format):
Remove.
* lisp/gnus/nnrss.el (nnrss-normalize-date):
Use format-time-string instead of time-zone-format.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/calendar/time-date.el (time-zone-format):
* test/lisp/calendar/time-date-tests.el (test-time-zone-format):
Remove.
* lisp/gnus/nnrss.el (nnrss-normalize-date):
Use format-time-string instead of time-zone-format.
</pre>
</div>
</content>
</entry>
<entry>
<title>Add new function time-zone-format</title>
<updated>2019-07-31T19:47:29+00:00</updated>
<author>
<name>Lars Ingebrigtsen</name>
</author>
<published>2019-07-30T14:56:12+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=46df7bbe12cce4c9af7ce4357aa9f8d36c1d8933'/>
<id>46df7bbe12cce4c9af7ce4357aa9f8d36c1d8933</id>
<content type='text'>
* lisp/calendar/time-date.el (time-zone-format): New function.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* lisp/calendar/time-date.el (time-zone-format): New function.
</pre>
</div>
</content>
</entry>
<entry>
<title>Adjust time-date tests to tweaked format</title>
<updated>2019-07-30T09:56:03+00:00</updated>
<author>
<name>Lars Ingebrigtsen</name>
</author>
<published>2019-07-30T09:56:03+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=e18a4a08e40c83623c7c5c7159de1b772d22303a'/>
<id>e18a4a08e40c83623c7c5c7159de1b772d22303a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add support for dealing with decoded time structures</title>
<updated>2019-07-29T12:22:38+00:00</updated>
<author>
<name>Lars Ingebrigtsen</name>
</author>
<published>2019-07-29T12:15:03+00:00</published>
<link rel='alternate' type='text/html' href='https://jason.zzq.org/git/emacs/commit/?id=6cfda69d72cb9debefc48d0d95e341d389e7303a'/>
<id>6cfda69d72cb9debefc48d0d95e341d389e7303a</id>
<content type='text'>
* doc/lispref/os.texi (Time Conversion): Document the new
functions that work on decoded time.
(Time Calculations): Document new date/time functions.

* lisp/simple.el (decoded-time-second, decoded-time-minute)
(decoded-time-hour, decoded-time-day, decoded-time-month)
(decoded-time-year, decoded-time-weekday, decoded-time-dst)
(decoded-time-zone): New accessor functions for decoded time values.

* lisp/calendar/time-date.el (date-days-in-month)
(date-ordinal-to-time): New functions.
(decoded-time--alter-month, decoded-time--alter-day)
(decoded-time--alter-second, make-decoded-time): New functions
added to manipulate decoded time structures.

* src/timefns.c (Fdecode_time): Mention the new accessors.

* test/lisp/calendar/time-date-tests.el: New file to test the
decoded time functions and the other new functions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* doc/lispref/os.texi (Time Conversion): Document the new
functions that work on decoded time.
(Time Calculations): Document new date/time functions.

* lisp/simple.el (decoded-time-second, decoded-time-minute)
(decoded-time-hour, decoded-time-day, decoded-time-month)
(decoded-time-year, decoded-time-weekday, decoded-time-dst)
(decoded-time-zone): New accessor functions for decoded time values.

* lisp/calendar/time-date.el (date-days-in-month)
(date-ordinal-to-time): New functions.
(decoded-time--alter-month, decoded-time--alter-day)
(decoded-time--alter-second, make-decoded-time): New functions
added to manipulate decoded time structures.

* src/timefns.c (Fdecode_time): Mention the new accessors.

* test/lisp/calendar/time-date-tests.el: New file to test the
decoded time functions and the other new functions.
</pre>
</div>
</content>
</entry>
</feed>
