diff options
author | Frederic Guillot <fred@kanboard.net> | 2015-01-25 18:55:11 -0500 |
---|---|---|
committer | Frederic Guillot <fred@kanboard.net> | 2015-01-25 18:55:11 -0500 |
commit | 28a7f57d86c2c2fbef92da37eacb19980a133ed2 (patch) | |
tree | fd9c19da9d81535b35d4118e741acc931d82f40f /app/Model/TaskExport.php | |
parent | 1fc6d69e2e25d6e4feaa38fe03dab98c75cfb36c (diff) |
Store due date without the time
Diffstat (limited to 'app/Model/TaskExport.php')
-rw-r--r-- | app/Model/TaskExport.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Model/TaskExport.php b/app/Model/TaskExport.php index 9545d062..90aa1964 100644 --- a/app/Model/TaskExport.php +++ b/app/Model/TaskExport.php @@ -77,11 +77,11 @@ class TaskExport extends Base '; if (! is_numeric($from)) { - $from = $this->dateParser->resetDateToMidnight($this->dateParser->getTimestamp($from)); + $from = $this->dateParser->removeTimeFromTimestamp($this->dateParser->getTimestamp($from)); } if (! is_numeric($to)) { - $to = $this->dateParser->resetDateToMidnight(strtotime('+1 day', $this->dateParser->getTimestamp($to))); + $to = $this->dateParser->removeTimeFromTimestamp(strtotime('+1 day', $this->dateParser->getTimestamp($to))); } $rq = $this->db->execute($sql, array($from, $to, $project_id)); |