Properly exclude 00 for partial dates, fixes #477

This commit is contained in:
emeric
2025-01-20 13:43:19 +01:00
parent 33759def78
commit 817588a755
2 changed files with 14 additions and 0 deletions
+3
View File
@@ -66,6 +66,9 @@ namespace lms::core
"%Y-%m-%dT%H:%M:%S",
"%Y-%m-%d %H:%M:%S",
"%Y/%m/%d %H:%M:%S",
"%Y-%m",
"%Y/%m",
"%Y",
};
for (const char* format : formats)