Package: astronomical-almanac / 5.6-7

dms.c-2.patch Patch series | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
Description: Correct Julian date of the year 1.
Author: Stephen Moshier
Forwarded: patch is from upstream
--- astronomical-almanac-5.6/dms.c	2020-03-28 21:03:05.000000000 -0400
+++ new/dms.c	2020-03-29 11:41:14.333160433 -0400
@@ -320,7 +320,7 @@
 int BC;
 double dd;
 
-if( J < 1721425.5 ) /* January 1.0, 1 A.D. */
+if( J < 1721423.5 ) /* January 1.0, 1 A.D. */
 	BC = 1;
 else
 	BC = 0;