From 05aca3be16d80cb3198bb4253c1e5692845045e9 Mon Sep 17 00:00:00 2001 From: imagoconsulting Date: Sun, 22 Mar 2015 22:46:06 -0400 Subject: [PATCH 1/2] Update README.md incorrect format character for minute. (should be i not m). --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 597d70f..f45a1a3 100644 --- a/README.md +++ b/README.md @@ -97,8 +97,8 @@ public function actionJsoncalendar($start=NULL,$end=NULL,$_=NULL){ $Event = new \yii2fullcalendar\models\Event(); $Event->id = $time->id; $Event->title = $time->categoryAsString; - $Event->start = date('Y-m-d\TH:m:s\Z',strtotime($time->date_start.' '.$time->time_start)); - $Event->end = date('Y-m-d\TH:m:s\Z',strtotime($time->date_start.' '.$time->time_end)); + $Event->start = date('Y-m-d\TH:i:s\Z',strtotime($time->date_start.' '.$time->time_start)); + $Event->end = date('Y-m-d\TH:i:s\Z',strtotime($time->date_start.' '.$time->time_end)); $events[] = $Event; } From 97618b2b10c09bb1c3f25a72ab656469c86e5821 Mon Sep 17 00:00:00 2001 From: imagoconsulting Date: Sun, 22 Mar 2015 22:50:12 -0400 Subject: [PATCH 2/2] Update README.md minor edit (I think it was intended date_end) likely a copy/paste error :) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index f45a1a3..8c9a978 100644 --- a/README.md +++ b/README.md @@ -98,7 +98,7 @@ public function actionJsoncalendar($start=NULL,$end=NULL,$_=NULL){ $Event->id = $time->id; $Event->title = $time->categoryAsString; $Event->start = date('Y-m-d\TH:i:s\Z',strtotime($time->date_start.' '.$time->time_start)); - $Event->end = date('Y-m-d\TH:i:s\Z',strtotime($time->date_start.' '.$time->time_end)); + $Event->end = date('Y-m-d\TH:i:s\Z',strtotime($time->date_end.' '.$time->time_end)); $events[] = $Event; }