mirror of
https://github.com/YunoHost/moulinette.git
synced 2024-09-03 20:06:31 +02:00
[fix] Bad comment
This commit is contained in:
parent
cf07c34fe3
commit
c83d582313
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@ class JSONExtendedEncoder(JSONEncoder):
|
||||||
hasattr(o, '__iter__') and hasattr(o, 'next')):
|
hasattr(o, '__iter__') and hasattr(o, 'next')):
|
||||||
return list(o)
|
return list(o)
|
||||||
|
|
||||||
# Convert compatible containers into list
|
# Display the date in its iso format ISO-8601 Internet Profile (RFC 3339)
|
||||||
if isinstance(o, datetime.datetime) or isinstance(o, datetime.date):
|
if isinstance(o, datetime.datetime) or isinstance(o, datetime.date):
|
||||||
return o.isoformat()
|
return o.isoformat()
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue