https://bugs.kde.org/show_bug.cgi?id=522099
Nate Graham <[email protected]> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|REPORTED |RESOLVED Latest Commit| |https://invent.kde.org/plas | |ma/kdeplasma-addons/-/commi | |t/3b380dd8c1881fde131675ce8 | |52bd93384e5e71b --- Comment #5 from Nate Graham <[email protected]> --- Git commit 3b380dd8c1881fde131675ce852bd93384e5e71b by Nate Graham, on behalf of Trần Nam Tuấn. Committed on 29/06/2026 at 16:23. Pushed by ngraham into branch 'master'. [Vietnamese Lunar Calendar] Fix midnight JDE rounding in getLocalDayIndex The `+ 0.5` offset intended to shift the Julian Date reference point from noon to local midnight (UTC+7) was placed outside `std::floor()`, making it a no-op by the `qint64` cast. This caused `getLocalDayIndex` to return the previous day for any astronomical event occurring between local midnight and noon, shifting the lunar day count one too high. Quite frankly, it is embarrassing that I missed this. M +1 -1 plasmacalendarplugins/alternatecalendar/provider/vietnamesecalendar.cpp https://invent.kde.org/plasma/kdeplasma-addons/-/commit/3b380dd8c1881fde131675ce852bd93384e5e71b -- You are receiving this mail because: You are watching all bug changes.
