From 549dcb31be650e08cde76924817c5c6357b0e476 Mon Sep 17 00:00:00 2001 From: Ben Rodes Date: Tue, 17 Feb 2026 10:13:55 -0500 Subject: [PATCH] Update cpp/ql/src/Likely Bugs/Leap Year/UncheckedLeapYearAfterYearModification.ql Co-authored-by: Geoffrey White <40627776+geoffw0@users.noreply.github.com> --- .../Leap Year/UncheckedLeapYearAfterYearModification.ql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/ql/src/Likely Bugs/Leap Year/UncheckedLeapYearAfterYearModification.ql b/cpp/ql/src/Likely Bugs/Leap Year/UncheckedLeapYearAfterYearModification.ql index 87733f0f69d..a6c11c30c67 100644 --- a/cpp/ql/src/Likely Bugs/Leap Year/UncheckedLeapYearAfterYearModification.ql +++ b/cpp/ql/src/Likely Bugs/Leap Year/UncheckedLeapYearAfterYearModification.ql @@ -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