use 'Y-m-d' for date formating

This commit is contained in:
Uwe Steinmann 2013-12-17 11:18:45 +01:00
parent caddafbbda
commit d6d33db858

View File

@ -27,11 +27,11 @@ function formatted_size($size_bytes) { /* {{{ */
} /* }}} */
function getReadableDate($timestamp) {
return date("d/m/Y", $timestamp);
return date("Y-m-d", $timestamp);
}
function getLongReadableDate($timestamp) {
return date("d/m/Y H:i", $timestamp);
return date("Y-m-d H:i:s", $timestamp);
}
function getReadableDuration($secs) {