Browse Source

Fix issue with chrome date on program

Fix
master
tr4ck3ur des JM2L 9 years ago
parent
commit
32b0c0917d
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      jm2l/views.py

+ 2
- 2
jm2l/views.py View File

@@ -149,8 +149,8 @@ def JSON_Progamme_Request(request):
ListEv.append( {
"uid":"%d/%d" % ( year, ev.uid ),
"desc":ev.name,
"startDate":ev.start_time.strftime('%Y-%m-%dT%H:%M:%S'),
"endDate":ev.end_time.strftime('%Y-%m-%dT%H:%M:%S'),
"startDate":ev.start_time.strftime('%Y-%m-%dT%H:%M:%S+01:00'),
"endDate":ev.end_time.strftime('%Y-%m-%dT%H:%M:%S+01:00'),
"placeName":ev.Salle and (ev.Salle.name or "unk") ,
"status":ev.event_type
} )


Loading…
Cancel
Save