Files
emacs/lisp
Mattias Engdegård 0ade20f49f Calc: fix formatting and parsing Unix time (bug#43759)
The number of days from epoch to Jan 1, 1970 that was used in parsing
and formatting Unix time was incorrect.  The previous fix
(in e368697ce3) was incomplete.

Reported by Vincent Belaïche.

* lisp/calc/calc-forms.el (math-unix-epoch): New constant.
(math-format-date-part, math-parse-standard-date, calcFunc-unixtime):
Use math-unix-epoch instead of a constant that is sometimes wrong.
* test/lisp/calc/calc-tests.el (calc-unix-date): New test.
2020-10-02 22:24:54 +02:00
..
2020-10-02 09:38:24 -07:00
2020-10-02 09:38:24 -07:00
2020-10-02 09:38:24 -07:00
2020-10-02 09:38:24 -07:00
2020-10-02 09:38:24 -07:00
2020-10-02 09:38:24 -07:00
2020-10-02 09:38:24 -07:00
2020-10-02 09:38:24 -07:00
2020-10-02 09:38:24 -07:00
2020-10-02 09:38:24 -07:00
2020-10-01 15:28:15 +02:00
2020-10-02 09:38:24 -07:00
2020-10-01 15:28:15 +02:00
2020-10-02 09:38:24 -07:00
2020-10-01 15:28:15 +02:00
2020-10-02 09:38:24 -07:00
2020-10-01 15:28:14 +02:00
2020-10-02 09:38:24 -07:00
2020-09-22 01:01:36 +02:00
2020-09-27 09:37:10 -07:00
2020-06-18 13:11:17 +01:00
2020-04-20 09:08:09 +02:00
2020-09-21 14:26:42 +02:00
2020-08-18 07:51:05 -07:00
2020-10-02 09:38:24 -07:00
2020-08-31 19:13:30 +02:00
2020-04-26 16:20:05 +02:00
2020-10-01 15:28:14 +02:00
2020-04-29 14:15:03 +03:00
2020-10-02 09:38:24 -07:00
2020-10-02 09:38:24 -07:00
2020-10-02 09:38:24 -07:00
2020-09-27 09:37:10 -07:00
2020-10-01 15:28:15 +02:00
2020-10-02 09:38:24 -07:00
2020-10-02 09:38:24 -07:00
2020-10-02 09:38:24 -07:00
2020-09-17 16:32:18 +02:00
2020-10-01 15:28:14 +02:00
2020-10-02 09:33:53 -07:00
2020-09-21 14:26:42 +02:00
2020-09-09 20:12:45 +01:00
2020-08-19 12:49:11 +02:00
2020-10-02 09:38:24 -07:00
2020-10-02 09:38:24 -07:00
2020-10-02 09:38:24 -07:00
2020-09-21 14:26:42 +02:00
2020-03-25 16:18:37 +02:00
2020-10-01 15:28:14 +02:00
2020-09-27 09:37:10 -07:00
2020-09-25 13:25:14 +02:00
2020-10-01 15:28:14 +02:00
2020-10-02 09:38:24 -07:00
2020-09-17 11:13:54 +02:00
2020-10-01 15:28:15 +02:00
2020-10-02 09:38:24 -07:00
2020-10-02 09:38:24 -07:00
2020-10-01 20:53:27 +02:00
2020-08-18 19:02:52 +02:00
2020-10-02 09:38:24 -07:00
2020-10-01 15:28:14 +02:00
2020-09-21 14:26:42 +02:00
2020-06-22 18:40:37 +03:00
2020-10-02 09:38:24 -07:00
2020-10-02 09:38:24 -07:00
2020-10-01 15:28:15 +02:00
2020-09-20 11:36:52 +02:00
2020-10-01 15:28:14 +02:00
2020-10-02 09:38:24 -07:00
2020-10-01 15:28:14 +02:00
2020-10-01 15:28:15 +02:00
2020-05-21 19:17:36 +03:00
2020-05-03 16:17:20 +02:00
2020-09-21 14:26:42 +02:00
2020-10-02 09:38:24 -07:00
2020-08-04 20:15:56 -04:00
2020-10-01 15:28:15 +02:00
2020-09-21 14:26:42 +02:00

This directory contains source code for the parts of Emacs that are
written in Emacs Lisp.  *.el files are Emacs Lisp source, and the
corresponding *.elc files are byte-compiled versions.  Byte-compiled
files are architecture-independent.

The term subdirectory contains Lisp files that customize Emacs for
certain terminal types.  When Emacs starts, it checks the TERM
environment variable to get the terminal type and loads
'term/${TERM}.el' if it exists.

The other subdirectories hold Lisp packages grouped by their general
purpose.