diff options
| author | Ćukasz Stelmach | 2024-02-07 14:37:39 +0100 |
|---|---|---|
| committer | Stefan Kangas | 2025-03-01 04:38:06 +0100 |
| commit | bc33b70b280933470b252f2a877fd50e4aed42ba (patch) | |
| tree | 1bff2633ecb58a10aadc0f28a37868e4d9093f3a /java/org/gnu | |
| parent | c0ca272bd7cbab5a2013e112f171e1d7fda65216 (diff) | |
| download | emacs-bc33b70b280933470b252f2a877fd50e4aed42ba.tar.gz emacs-bc33b70b280933470b252f2a877fd50e4aed42ba.zip | |
Fix handling of delta values with negative month field
* lisp/calendar/time-date.el (decoded-time-add): If the new
variable is less then zero, the year needs to be decremented
by quotient of new and 12 increased by one.
* test/lisp/calendar/time-date-tests.el (test-decoded-add):
Add applicable test cases. (Bug#68969)
Diffstat (limited to 'java/org/gnu')
0 files changed, 0 insertions, 0 deletions