mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-15 06:01:19 +00:00
use 'Y-m-d' for date formating
This commit is contained in:
parent
caddafbbda
commit
d6d33db858
|
@ -27,11 +27,11 @@ function formatted_size($size_bytes) { /* {{{ */
|
||||||
} /* }}} */
|
} /* }}} */
|
||||||
|
|
||||||
function getReadableDate($timestamp) {
|
function getReadableDate($timestamp) {
|
||||||
return date("d/m/Y", $timestamp);
|
return date("Y-m-d", $timestamp);
|
||||||
}
|
}
|
||||||
|
|
||||||
function getLongReadableDate($timestamp) {
|
function getLongReadableDate($timestamp) {
|
||||||
return date("d/m/Y H:i", $timestamp);
|
return date("Y-m-d H:i:s", $timestamp);
|
||||||
}
|
}
|
||||||
|
|
||||||
function getReadableDuration($secs) {
|
function getReadableDuration($secs) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user