fix: datetime format string

This commit is contained in:
timeshifter
2022-01-05 13:38:37 +01:00
parent c0a9a1a507
commit 85e3e0b60d
+2 -2
View File
@@ -477,11 +477,11 @@ class Time:
%a: day of week, short version %a: day of week, short version
%b: month, short version %b: month, short version
%e: day of month, space-padded %d: day of month, zero-padded
%H, %M, %S: hour, minute, second, zero-padded %H, %M, %S: hour, minute, second, zero-padded
%Y: year %Y: year
""" """
return "%a %b %e %H:%M:%S %Y" return "%a %b %d %H:%M:%S %Y"
@classmethod @classmethod
def _extract_datetime_segment(cls, line_with_datetime: str) -> str: def _extract_datetime_segment(cls, line_with_datetime: str) -> str: