mirror of
https://git.savannah.gnu.org/git/guile.git
synced 2025-06-13 07:10:20 +02:00
(SRFI-19): Note Gregorian leap year rules
incorrectly extended back prior to 1582.
This commit is contained in:
parent
4eb21177ee
commit
7d281fa50f
1 changed files with 11 additions and 0 deletions
|
@ -1632,6 +1632,17 @@ functions and variables described here are provided by
|
||||||
(use-modules (srfi srfi-19))
|
(use-modules (srfi srfi-19))
|
||||||
@end example
|
@end example
|
||||||
|
|
||||||
|
@strong{Caution}: The current code in this module incorrectly extends
|
||||||
|
the Gregorian calendar leap year rule back prior to the introduction
|
||||||
|
of those reforms in 1582 (or the appropriate year in various
|
||||||
|
countries). The Julian calendar was used prior to 1582, and there
|
||||||
|
were 10 days skipped for the reform, but the code doesn't implement
|
||||||
|
that.
|
||||||
|
|
||||||
|
This will be fixed some time. Until then calculations for 1583
|
||||||
|
onwards are correct, but prior to that any day/month/year and day of
|
||||||
|
the week calculations are wrong.
|
||||||
|
|
||||||
@menu
|
@menu
|
||||||
* SRFI-19 Introduction::
|
* SRFI-19 Introduction::
|
||||||
* SRFI-19 Time::
|
* SRFI-19 Time::
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue