From b709c57233a6e309682d037eebe5d13f4b9c23a0 Mon Sep 17 00:00:00 2001 From: yumoqing Date: Sun, 2 Aug 2020 11:16:28 +0800 Subject: [PATCH] bugfix --- appPublic/timeUtils.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/appPublic/timeUtils.py b/appPublic/timeUtils.py index 91df2a0..d02babe 100644 --- a/appPublic/timeUtils.py +++ b/appPublic/timeUtils.py @@ -12,6 +12,10 @@ def curDateString(): d = curDatetime() return '%04d-%02d-%02d' %(d.year,d.month,d.day) +def curTimeString(): + d = curDatetime() + return '%02d:%02d:%02d' %(d.hour,d.minute,d.second) + def timestampstr(): d = curDatetime() return '%04d-%02d-%02d %02d:%02d:%02d.%03d' % (d.year,