summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--timelinejs_json_event.tpl.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/timelinejs_json_event.tpl.php b/timelinejs_json_event.tpl.php
index 269d162..22a3b5d 100644
--- a/timelinejs_json_event.tpl.php
+++ b/timelinejs_json_event.tpl.php
@@ -1,5 +1,5 @@
{
- "startDate":"<?php print strftime('%Y,%m,%d,', strtotime($event->field_date['und'][0]['value'])); ?>",
+ "startDate":"<?php print strftime('%Y,%m,%d', strtotime($event->field_date['und'][0]['value'])); ?>",
"headline":"<?php print $event->title; ?>",
"text":"<?php print str_replace('"', '&quot;', $event->body['und'][0]['value']); ?>",
"asset":