-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
Open
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir
Description
Documentation
The documentation for logging formatters states that the parameter datefmt
is "[a] format string in the given style" and "[the parameter style
] only applies to fmt and datefmt". However, in formatTime
the time ct
is formatted time.strftime(datefmt, ct)
, not with self._style.format
like in formatMessage
. This means, for example, that despite using style="{"
I still need to format the timestamp with "%Y-%m-%d %H:%M:%S%z"
.
brianschubert
Metadata
Metadata
Assignees
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir
Projects
Status
No status
Status
Todo