mirror of
https://github.com/github/codeql.git
synced 2026-02-23 10:23:41 +01:00
Update cpp/ql/src/Likely Bugs/Leap Year/UncheckedLeapYearAfterYearModification.ql
Co-authored-by: Geoffrey White <40627776+geoffw0@users.noreply.github.com>
This commit is contained in:
@@ -142,7 +142,7 @@ predicate isLikelyConversionConstant(int c) {
|
||||
146097, // days in 400-year Gregorian cycle
|
||||
36524, // days in 100-year Gregorian subcycle
|
||||
1461, // days in 4-year cycle (incl. 1 leap)
|
||||
32044, // Fliegel–van Flandern JDN epoch shift
|
||||
32044, // Fliegel-van Flandern JDN epoch shift
|
||||
1721425, // JDN of 0001‑01‑01 (Gregorian)
|
||||
1721119, // alt epoch offset
|
||||
2400000, // MJD → JDN conversion
|
||||
|
||||
Reference in New Issue
Block a user