mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 00:45:34 +00:00
fix getLongReadableDate()
This commit is contained in:
parent
6179e517b2
commit
fce2ba2bd7
|
@ -81,7 +81,7 @@ function getLongReadableDate($timestamp=0) { /* {{{ */
|
|||
$timestamp = strtotime($timestamp);
|
||||
elseif(!is_numeric($timestamp))
|
||||
return '';
|
||||
if($settings->_dateformat)
|
||||
if($settings->_datetimeformat)
|
||||
return date($settings->_datetimeformat, $timestamp);
|
||||
else
|
||||
return date("Y-m-d H:i:s", $timestamp);
|
||||
|
|
Loading…
Reference in New Issue
Block a user