mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-05-31 05:57:34 +00:00
use always the same date format
This commit is contained in:
parent
cc603741d7
commit
18d705a687
|
@ -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