diff options
author | Kyomotoi <[email protected]> | 2023-01-26 21:26:45 +0800 |
---|---|---|
committer | Kyomotoi <[email protected]> | 2023-01-26 21:26:45 +0800 |
commit | f23c603bf92f8c2bbd15bef441048d18382f351d (patch) | |
tree | 40aa42e80fdf27197adb94ac24527a78d6c958e8 /ATRI/utils | |
parent | c2e02c53300b5c4e7e4aa265905fc3ae5e892f0f (diff) | |
parent | 87d5802c7ade5061baeb40758756260a9800734d (diff) | |
download | ATRI-f23c603bf92f8c2bbd15bef441048d18382f351d.tar.gz ATRI-f23c603bf92f8c2bbd15bef441048d18382f351d.tar.bz2 ATRI-f23c603bf92f8c2bbd15bef441048d18382f351d.zip |
Merge branch 'main' of https://github.com/Kyomotoi/ATRI
Diffstat (limited to 'ATRI/utils')
-rw-r--r-- | ATRI/utils/__init__.py | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ATRI/utils/__init__.py b/ATRI/utils/__init__.py index 693de6c..e3777a0 100644 --- a/ATRI/utils/__init__.py +++ b/ATRI/utils/__init__.py @@ -27,9 +27,7 @@ class TimeDealer: self.timestamp = timestamp self.timezone = timezone - def to_str( - self, format: str = "%Y-%m-%d %H:%M:%S" - ) -> str: + def to_str(self, format: str = "%Y-%m-%d %H:%M:%S") -> str: """将时间戳转换为格式化形式 Args: |