|
@@ -149,8 +149,8 @@ def JSON_Progamme_Request(request): |
|
|
ListEv.append( { |
|
|
ListEv.append( { |
|
|
"uid":"%d/%d" % ( year, ev.uid ), |
|
|
"uid":"%d/%d" % ( year, ev.uid ), |
|
|
"desc":ev.name, |
|
|
"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") , |
|
|
"placeName":ev.Salle and (ev.Salle.name or "unk") , |
|
|
"status":ev.event_type |
|
|
"status":ev.event_type |
|
|
} ) |
|
|
} ) |
|
|