diff options
author | Lint Action <[email protected]> | 2023-01-24 15:06:47 +0000 |
---|---|---|
committer | Lint Action <[email protected]> | 2023-01-24 15:06:47 +0000 |
commit | 87d5802c7ade5061baeb40758756260a9800734d (patch) | |
tree | 0f617eb3ea31e023f23269487f3ce73cc263a66b /ATRI/utils | |
parent | 48074fe1b1536ad300633d6238986057714bfc69 (diff) | |
download | ATRI-87d5802c7ade5061baeb40758756260a9800734d.tar.gz ATRI-87d5802c7ade5061baeb40758756260a9800734d.tar.bz2 ATRI-87d5802c7ade5061baeb40758756260a9800734d.zip |
:rotating_light: 自动进行代码格式化
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: |