Correct Julian Day numbers in 1800

This follows up on commit b906796af6.
Fix an off-by-one error - I was testing the last days of December 1799
and June 1800.

Change-Id: I79ab622978d35f91e3e1b1b8d00d93b0d4b31c07
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
bb10
Edward Welbourne 2023-03-30 14:33:56 +02:00
parent 5dabac2c9c
commit 5fc53f58e9
1 changed files with 1 additions and 1 deletions

View File

@ -249,7 +249,7 @@ tst_QDateTime::tst_QDateTime()
}
};
// UTC starts of January and July in the given years:
setType(1800, -62092, -61911, solarMeanType);
setType(1800, -62091, -61910, solarMeanType);
setType(1970, 0, 181, epochTimeType);
setType(2038, 24837, 25018, futureTimeType);
}