diff options
author | Silvio <silvio@socioambiental.org> | 2012-08-02 17:53:53 -0300 |
---|---|---|
committer | Silvio <silvio@socioambiental.org> | 2012-08-02 17:53:53 -0300 |
commit | 8643c67b038376f0824af0cc71c662170c979263 (patch) | |
tree | 17eaf2252f7a8c206786bb3f063d078cf4a37a25 /timelinejs_json_event.tpl.php | |
parent | 53454451a84938723f399a4dd0ced569a5b9fa28 (diff) | |
download | timelinejs-8643c67b038376f0824af0cc71c662170c979263.tar.gz timelinejs-8643c67b038376f0824af0cc71c662170c979263.tar.bz2 |
Changing event ctype and date field
Diffstat (limited to 'timelinejs_json_event.tpl.php')
-rw-r--r-- | timelinejs_json_event.tpl.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/timelinejs_json_event.tpl.php b/timelinejs_json_event.tpl.php index 575017e..90846f8 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_data['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 $event->body['und'][0]['value']; ?>", "asset": |