mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-06-17 00:07:37 +02:00
use !r formatting instead of quotes
This commit is contained in:
@ -3,6 +3,7 @@ jc changelog
|
|||||||
20220202 v1.18.3
|
20220202 v1.18.3
|
||||||
- Add rsync command and log file parser tested on linux and macOS
|
- Add rsync command and log file parser tested on linux and macOS
|
||||||
- Add rsync command and log file streaming parser tested on linux and macOS
|
- Add rsync command and log file streaming parser tested on linux and macOS
|
||||||
|
- Enhance timestamp performance with caching and format hints
|
||||||
- Refactor ignore_exceptions functionality in streaming parsers
|
- Refactor ignore_exceptions functionality in streaming parsers
|
||||||
|
|
||||||
20220127 v1.18.2
|
20220127 v1.18.2
|
||||||
|
@ -258,7 +258,7 @@ class timestamp:
|
|||||||
self.utc = dt['timestamp_utc']
|
self.utc = dt['timestamp_utc']
|
||||||
|
|
||||||
def __repr__(self):
|
def __repr__(self):
|
||||||
return f'timestamp(string="{self.string}", format={self.format}, naive={self.naive}, utc={self.utc})'
|
return f'timestamp(string={self.string!r}, format={self.format}, naive={self.naive}, utc={self.utc})'
|
||||||
|
|
||||||
def _parse(self):
|
def _parse(self):
|
||||||
"""
|
"""
|
||||||
|
Reference in New Issue
Block a user