fix: datetime format string
This commit is contained in:
+2
-2
@@ -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:
|
||||||
|
|||||||
Reference in New Issue
Block a user