names
This commit is contained in:
parent
0a139cd1d5
commit
228c612fff
3 changed files with 9 additions and 8 deletions
|
|
@ -375,6 +375,7 @@ class Item(models.Model):
|
|||
i[key] = value
|
||||
|
||||
#format datetime values
|
||||
# #FIXME: do this in render_tojson
|
||||
for key in i:
|
||||
if isinstance(i[key], datetime):
|
||||
i[key] = i[key].strftime('%Y-%m-%dT%H:%M:%SZ')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue