mirror of
https://github.com/DirectoryLister/DirectoryLister.git
synced 2025-08-30 17:20:12 +02:00
Fixed view date not changing when updating the configuration
Resolves issue #255
This commit is contained in:
@@ -57,7 +57,7 @@ class TwigProvider
|
||||
);
|
||||
|
||||
$twig->getEnvironment()->getExtension(CoreExtension::class)->setDateFormat(
|
||||
$this->config->get('app.date_format', 'Y-m-d H:i:s'), '%d days'
|
||||
$this->config->get('view.date_format', 'Y-m-d H:i:s'), '%d days'
|
||||
);
|
||||
|
||||
foreach (self::VIEW_FUNCTIONS as $function) {
|
||||
|
Reference in New Issue
Block a user