gregstoll / gallery2

A fork of the Gallery project (galleryproject.org) that supports PHP 8
GNU General Public License v2.0
44 stars 24 forks source link

Default time format %X is crashing Site Administration #79

Closed Filou83 closed 2 years ago

Filou83 commented 2 years ago

I used the default time format %X in site administration and with this it is crashing the main configuration.

I had to add a line of code in "gallery2/modules/core/classes/helpers/php-8.1-strftime-modified.class"

before //'%X' => $intl_formatter, // Preferred time representation based on locale, without the date I added '%X' => 'H:i:s',

So I could access the main settings again.

gregstoll commented 2 years ago

Ah, thanks! I forgot those can be explicitly specified.