Skip to content

Commit

Permalink
Correct typo in ValueError raised for invalid time format
Browse files Browse the repository at this point in the history
  • Loading branch information
Delgan committed Aug 31, 2023
1 parent c9f7929 commit e49dfa5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion loguru/_datetime.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ def __format__(self, spec):
raise ValueError(
"Invalid time format: the provided format string contains more than six successive "
"'S' characters. This may be due to an attempt to use nanosecond precision, which "
" not supported."
"is not supported."
)

year, month, day, hour, minute, second, weekday, yearday, _ = dt.timetuple()
Expand Down

0 comments on commit e49dfa5

Please sign in to comment.