mirror of
https://github.com/lucaspalomodevelop/indico-plugins.git
synced 2026-03-13 15:34:37 +00:00
Wrong indentation
This commit is contained in:
parent
f6450a497b
commit
a7cf31ab73
@ -16,10 +16,10 @@
|
||||
|
||||
|
||||
def parse_datetime(string):
|
||||
split_datetime = string[0].split('T')
|
||||
if len(split_datetime) > 1:
|
||||
return {'date': string[0].split('T')[0],
|
||||
'time': string[0].split('T')[1]}
|
||||
else:
|
||||
return {'date': string[0].split('T')[0],
|
||||
'time': '00:00'}
|
||||
split_datetime = string[0].split('T')
|
||||
if len(split_datetime) > 1:
|
||||
return {'date': string[0].split('T')[0],
|
||||
'time': string[0].split('T')[1]}
|
||||
else:
|
||||
return {'date': string[0].split('T')[0],
|
||||
'time': '00:00'}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user