summaryrefslogtreecommitdiffstats
path: root/application/controllers/EventController.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/controllers/EventController.php')
-rwxr-xr-xapplication/controllers/EventController.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/application/controllers/EventController.php b/application/controllers/EventController.php
index 8c96327..820ad66 100755
--- a/application/controllers/EventController.php
+++ b/application/controllers/EventController.php
@@ -148,14 +148,14 @@ class EventController extends Zend_Controller_Action
$repeattypelist = $repeattypeMapper->fetchAll();
$add = $this->getRequest()->getParam("add");
if($this->getRequest()->getParam('start')) {
- $start = date ('m/d/Y H:i', strtotime($this->getRequest()->getParam('start')));
+ $start = date ('m/d/Y H:i a', strtotime($this->getRequest()->getParam('start')));
} else if($this->getRequest()->getParam('evstart')) {
- $start = date ('m/d/Y H:i', strtotime(substr($this->getRequest()->getParam('evstart'), 0, 24)));
+ $start = date ('m/d/Y H:i a', strtotime(substr($this->getRequest()->getParam('evstart'), 0, 24)));
} else {$start = 'mm/dd/yyyy H:min';}
if($this->getRequest()->getParam('end')) {
- $end = date ('m/d/Y H:i', strtotime($this->getRequest()->getParam('end')));
+ $end = date ('m/d/Y H:i a', strtotime($this->getRequest()->getParam('end')));
} else if($this->getRequest()->getParam('evend')) {
- $end = date ('m/d/Y H:i', strtotime(substr($this->getRequest()->getParam('evend'), 0, 24)));
+ $end = date ('m/d/Y H:i a', strtotime(substr($this->getRequest()->getParam('evend'), 0, 24)));
} else {$end = 'mm/dd/yyyy H:min';}
if (!isset($add)){
$defaultEventCategory = $this->config['event']['category']['default'];