mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-21 18:09:20 +00:00
Fixes the events API so they return valid JSON. Fixes: ALF-10530
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@30841 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -11,12 +11,12 @@
|
||||
"startAt": {
|
||||
"iso8601": "${xmldate(result.from)}",
|
||||
"legacyDate": "${result.from?string("M/d/yyyy")}",
|
||||
"legacyTime": "${result.from?string("HH:mm")}",
|
||||
"legacyTime": "${result.from?string("HH:mm")}"
|
||||
},
|
||||
"endAt": {
|
||||
"iso8601": "${xmldate(result.to)}",
|
||||
"legacyDate": "${result.to?string("M/d/yyyy")}",
|
||||
"legacyTime": "${result.to?string("HH:mm")}",
|
||||
"legacyTime": "${result.to?string("HH:mm")}"
|
||||
},
|
||||
"allday": "${result.allday?string}",
|
||||
|
||||
|
@@ -19,12 +19,12 @@
|
||||
"startAt": {
|
||||
"iso8601": "${xmldate(event.start)}",
|
||||
"legacyDate": "${event.start?string("M/d/yyyy")}",
|
||||
"legacyTime": "${event.start?string("HH:mm")}",
|
||||
"legacyTime": "${event.start?string("HH:mm")}"
|
||||
},
|
||||
"endAt": {
|
||||
"iso8601": "${xmldate(event.end)}",
|
||||
"legacyDate": "${event.end?string("M/d/yyyy")}",
|
||||
"legacyTime": "${event.end?string("HH:mm")}",
|
||||
"legacyTime": "${event.end?string("HH:mm")}"
|
||||
},
|
||||
|
||||
"tags": [<#list item.tags as tag>"${tag}"<#if tag_has_next>,</#if></#list>],
|
||||
|
Reference in New Issue
Block a user