1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-06 06:20:55 -08:00
emacs/lisp/calc
Mattias Engdegård 4ce9c6d0b5 Fix various Calc date conversions (bug#36822)
* lisp/calc/calc-forms.el (math-absolute-from-gregorian-dt):
Rewrite in a way that I understand, and that actually seems to work.
(math-absolute-from-julian-dt): Use Julian, not Gregorian, leap year
rules for counting days within a year.
(math-julian-date-beginning, math-julian-date-beginning-int):
Change constants to be consistent with their doc strings and the code:
use Rata Die epoch at Dec 31, 1 BC Gregorian proleptic, not Julian.
* doc/misc/calc.texi (Date Forms): Correct difference between Julian
Day and Rata Die.
* test/lisp/calc/calc-tests.el (calc-test-calendar): New test.
2019-08-06 13:59:28 +02:00
..
calc-aent.el Replace manually crafted hex regexes with [:xdigit:] 2019-07-06 10:54:25 +03:00
calc-alg.el Fix trig simplification crash (bug#33052) 2019-07-10 19:28:35 +02:00
calc-arith.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
calc-bin.el Fix calc number formatting with digit grouping (bug#36689) 2019-07-16 17:37:46 +02:00
calc-comb.el * lisp/calc/calc.el: Take advantage of native bignums. 2019-06-25 23:05:11 -04:00
calc-cplx.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
calc-embed.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
calc-ext.el Fix calc number formatting with digit grouping (bug#36689) 2019-07-16 17:37:46 +02:00
calc-fin.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
calc-forms.el Fix various Calc date conversions (bug#36822) 2019-08-06 13:59:28 +02:00
calc-frac.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
calc-funcs.el * lisp/calc/calc.el: Take advantage of native bignums. 2019-06-25 23:05:11 -04:00
calc-graph.el Fix regular-expression glitches and typos 2019-03-04 18:00:58 -08:00
calc-help.el Remove XEmacs compat code from calc 2019-06-19 22:56:26 +02:00
calc-incom.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
calc-keypd.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
calc-lang.el Replace manually crafted hex regexes with [:xdigit:] 2019-07-06 10:54:25 +03:00
calc-macs.el * lisp/calc/calc.el: Take advantage of native bignums. 2019-06-25 23:05:11 -04:00
calc-map.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
calc-math.el Revert "* lisp/calc/calc-ext.el (math-scalarp): Fix typo" 2019-06-26 10:24:59 -04:00
calc-menu.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
calc-misc.el * lisp/calc/calc.el: Take advantage of native bignums. 2019-06-25 23:05:11 -04:00
calc-mode.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
calc-mtx.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
calc-nlfit.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
calc-poly.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
calc-prog.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
calc-rewr.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
calc-rules.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
calc-sel.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
calc-stat.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
calc-store.el Be safer about "%" in message formats 2019-03-07 09:05:56 -08:00
calc-stuff.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
calc-trail.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
calc-undo.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
calc-units.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
calc-vec.el * lisp/calc/calc.el: Take advantage of native bignums. 2019-06-25 23:05:11 -04:00
calc-yank.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
calc.el calc mode line touch up 2019-08-03 22:03:27 +02:00
calcalg2.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
calcalg3.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00
calccomp.el Merge from origin/emacs-26 2018-12-31 17:57:29 -08:00
calcsel2.el Update copyright year to 2019 2019-01-01 01:01:13 +00:00