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".
Linked PRs
Documentation
The documentation for logging formatters states that the parameter
datefmtis "[a] format string in the given style" and "[the parameterstyle] only applies to fmt and datefmt". However, informatTimethe timectis formattedtime.strftime(datefmt, ct), not withself._style.formatlike informatMessage. This means, for example, that despite usingstyle="{"I still need to format the timestamp with"%Y-%m-%d %H:%M:%S%z".Linked PRs