aboutsummaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/datetime/format.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/datetime/format.py b/src/utils/datetime/format.py
index feefde82..acee5f6d 100644
--- a/src/utils/datetime/format.py
+++ b/src/utils/datetime/format.py
@@ -13,7 +13,7 @@ def iso8601(dt: _datetime.datetime, timespec: TimeSpec=TimeSpec.NORMAL
ms_format = ".%s" % str(int(dt.microsecond/1000)).zfill(3)
return "%s%s%s" % (dt_format, ms_format, tz_format)
-def iso8601_format_now(timespec: TimeSpec=TimeSpec.NORMAL) -> str:
+def iso8601_now(timespec: TimeSpec=TimeSpec.NORMAL) -> str:
return iso8601(utcnow(), timespec)
def datetime_human(dt: _datetime.datetime, timespec: TimeSpec=TimeSpec.NORMAL):