mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
more accurate fix
This commit is contained in:
parent
adafaa4db2
commit
19831f833c
@ -543,11 +543,7 @@ function ui_print_timestamp($unixtime, $return=false, $option=[])
|
|||||||
$title = human_time_comparation($unixtime);
|
$title = human_time_comparation($unixtime);
|
||||||
$date = new DateTime();
|
$date = new DateTime();
|
||||||
$date->setTimestamp($unixtime);
|
$date->setTimestamp($unixtime);
|
||||||
$strf_format = $date->format($config['date_format']);
|
$data = $date->format($config['date_format']);
|
||||||
$data = strftime(
|
|
||||||
$strf_format,
|
|
||||||
$unixtime
|
|
||||||
);
|
|
||||||
} else if ($prominent == 'compact') {
|
} else if ($prominent == 'compact') {
|
||||||
$units = 'tiny';
|
$units = 'tiny';
|
||||||
$title = date($config['date_format'], $unixtime);
|
$title = date($config['date_format'], $unixtime);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user