mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2026-03-08 00:08:08 +01:00
Use current timezone to show formatted datetimes in datatables.
This commit is contained in:
@@ -75,7 +75,7 @@ class LocaleDateTimeColumn extends AbstractColumn
|
||||
Locale::getDefault(),
|
||||
$formatValues[$this->options['dateFormat']],
|
||||
$formatValues[$this->options['timeFormat']],
|
||||
$value->getTimezone()
|
||||
null
|
||||
);
|
||||
|
||||
return $formatter->format($value->getTimestamp());
|
||||
|
||||
Reference in New Issue
Block a user