CC-2336 Some Show Editing Features Seem to have been lost

This commit is contained in:
Naomi Aro 2011-05-30 18:12:57 -04:00
parent 1bca5208e7
commit f5e6082ee7
2 changed files with 32 additions and 9 deletions

View file

@ -18,6 +18,15 @@ class DateHelper
return date("Y-m-d H:i:s", $this->_timestamp);
}
/**
* Get date of object construction in the format
* YY:mm:dd
*/
function getDate()
{
return date("Y-m-d", $this->_timestamp);
}
/**
* Get time of object construction in the format
* HH:mm:ss