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:
@ -258,7 +258,7 @@ class timestamp:
|
||||
self.utc = dt['timestamp_utc']
|
||||
|
||||
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):
|
||||
"""
|
||||
|
Reference in New Issue
Block a user