fix: make days local again

This commit is contained in:
izzy 2026-03-04 13:27:24 -05:00
parent 8ac7182074
commit 7ee035b295

View file

@ -26,7 +26,7 @@ typedef struct _SYSTEMTIME {
inline VOID GetSystemTime(LPSYSTEMTIME lpSystemTime) {
const auto dateTime = system_clock::now();
const auto dp = floor<std::chrono::days>(dateTime);
const auto dp = floor<days>(dateTime);
const year_month_day ymd{dp};
const hh_mm_ss hms{dateTime - dp};