-changes to list view. Framework so that we may change selected day
-changes to add-user. Started implementing Vladimirs design.
This commit is contained in:
parent
e9691f9a4c
commit
bc5b9efb4b
19 changed files with 351 additions and 69 deletions
|
@ -12,6 +12,10 @@ class Application_Model_DateHelper
|
|||
return date("Y-m-d H:i:s", $this->_timestamp);
|
||||
}
|
||||
|
||||
function setDate($dateString){
|
||||
$this->_timestamp = strtotime($dateString);
|
||||
}
|
||||
|
||||
function getNowDayStartDiff(){
|
||||
$dayStartTS = strtotime(date("Y-m-d", $this->_timestamp));
|
||||
return $this->_timestamp - $dayStartTS;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue