minor changes
This commit is contained in:
parent
e029bc2f97
commit
bf0da85c39
1 changed files with 2 additions and 2 deletions
|
@ -62,9 +62,9 @@ def UTC8(str1, outtype):
|
|||
if mi != 0:
|
||||
h = h - 24
|
||||
if outtype == 'onlytimenoutc':
|
||||
return str(h) + '时' + str(mi) + '分'
|
||||
return str(h) + ':' + str(mi)
|
||||
elif outtype == 'onlytime':
|
||||
return str(h) + '时' + str(mi) + '分' + '(UTC+8)'
|
||||
return str(h) + ':' + str(mi) + '(UTC+8)'
|
||||
elif outtype == 'full':
|
||||
return str(y) + '年' + str(m) + '月' + str(d) + '日 ' + str(h) + ':' + str(mi) + '(UTC+8)'
|
||||
elif outtype == 'notimezone':
|
||||
|
|
Reference in a new issue