Skip to content

DATE_FORMAT_PATTERN cannot be set #4445

@zenonp

Description

@zenonp

ZM 1.36.35-1.el9.x86_64

Setting TIME_FORMAT_PATTERN and DATETIME_FORMAT_PATTERN works fine, but setting DATE_FORMAT_PATTERN breaks the web interface with this in /var/log/php-fpm/www-error.log:

[21-Sep-2025 09:38:32 UTC] PHP Fatal error:  Uncaught Error: Call to undefined method IntlDateFormatter::setPatter() in /usr/share/zoneminder/www/index.php:58
Stack trace:
#0 {main}
  thrown in /usr/share/zoneminder/www/index.php on line 58

Fix: add the missing "n" at the end of "setPatter" in index.php line 58.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions