Archived
1
0
Fork 0

minor changes

This commit is contained in:
yzhh 2022-01-06 21:18:24 +08:00
parent e029bc2f97
commit bf0da85c39

View file

@ -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':