Skip to content

Commit 4817b2f

Browse files
committed
fix
1 parent f3a4fc2 commit 4817b2f

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

builtin_packages/datetime_sp/isoformat_sp.py

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,9 @@
22

33

44
def main():
5-
dts = '2018-04-13 16:06:11.844265+08:00'
6-
dt = datetime.datetime.s(dts)
5+
dt = datetime.datetime.utcnow()
76
print(dt)
8-
9-
print('Hello')
10-
7+
print(dt.isoformat())
118

129
if __name__ == '__main__':
1310
main()

0 commit comments

Comments
 (0)