From 779fd757a397a7585d50d4a5810a8920b6ea2288 Mon Sep 17 00:00:00 2001 From: Ben Rodes Date: Tue, 17 Feb 2026 12:35:15 -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 9f1c15690ee..ce7d73b1bfc 100644 --- a/cpp/ql/src/Likely Bugs/Leap Year/UncheckedLeapYearAfterYearModification.ql +++ b/cpp/ql/src/Likely Bugs/Leap Year/UncheckedLeapYearAfterYearModification.ql @@ -143,7 +143,7 @@ predicate isLikelyConversionConstant(int c) { 36524, // days in 100-year Gregorian subcycle 1461, // days in 4-year cycle (incl. 1 leap) 32044, // Fliegel-van Flandern JDN epoch shift - 1721425, // JDN of 0001‑01‑01 (Gregorian) + 1721425, // JDN of 0001-01-01 (Gregorian) 1721119, // alt epoch offset 2400000, // MJD -> JDN conversion 2400001, // alt MJD -> JDN conversion