mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-11 20:21:16 +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) {
|
||||
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) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user