diff options
| author | 2020-01-30 21:12:31 +0000 | |
|---|---|---|
| committer | 2020-01-30 21:20:56 +0000 | |
| commit | d0d5cc4d0866d44eed652221940035d855296253 (patch) | |
| tree | 1683eb3aaf56b457835fb0229379530a7013280d /src/Logging.py | |
| parent | replace "/" in channel logfile names with "," (diff) | |
| signature | ||
split utils.datetime out in to .parse and .format
Diffstat (limited to 'src/Logging.py')
| -rw-r--r-- | src/Logging.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Logging.py b/src/Logging.py index 0f636587..ec8574bd 100644 --- a/src/Logging.py +++ b/src/Logging.py @@ -13,7 +13,7 @@ LEVELS = { class BitBotFormatter(logging.Formatter): def formatTime(self, record, datefmt=None): datetime_obj = datetime.datetime.fromtimestamp(record.created) - return utils.datetime.iso8601_format(datetime_obj, + return utils.datetime.format.iso8601(datetime_obj, timespec=utils.datetime.TimeSpec.MILLISECOND) class HookedHandler(logging.StreamHandler): |
