Skip to content

Commit

Permalink
Fix typo in date format
Browse files Browse the repository at this point in the history
  • Loading branch information
Grub4K committed Jun 18, 2024
1 parent ca7a974 commit 93847d1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vrcar/log.py
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ def __init__(
self._exc_format = self.EXC_FORMAT_COLOR if use_color else self.EXC_FORMAT
# HACK: preformat name length so we don't have to store it for later
self._log_format = self._log_format.replace("{name_length}", str(name_length))
super().__init__(self._log_format, style="{", datefmt="%Y-%m-%d %H:%M:%s")
super().__init__(self._log_format, style="{", datefmt="%Y-%m-%d %H:%M:%S")

def format(self, /, record: logging.LogRecord) -> str:
record.asctime = self.formatTime(record, self.datefmt)
Expand Down

0 comments on commit 93847d1

Please sign in to comment.