bugfix
This commit is contained in:
parent
31533b4d9e
commit
b709c57233
@ -12,6 +12,10 @@ def curDateString():
|
|||||||
d = curDatetime()
|
d = curDatetime()
|
||||||
return '%04d-%02d-%02d' %(d.year,d.month,d.day)
|
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():
|
def timestampstr():
|
||||||
d = curDatetime()
|
d = curDatetime()
|
||||||
return '%04d-%02d-%02d %02d:%02d:%02d.%03d' % (d.year,
|
return '%04d-%02d-%02d %02d:%02d:%02d.%03d' % (d.year,
|
||||||
|
Loading…
Reference in New Issue
Block a user