Wrong date time format (OJS 3.4.0-5, theme Health journal)

Describe the issue or problem
Long date format isn’t localized. Despite setting whole site interface in Polish long date is still in English:
opublikowany_july

In admin panel format is properly set (and interface translated!):

I’ve even tried to work around it and set everything the same in config file and it is reflected in global PHP settings:

What application are you using?
OJS 3.4.0-5, theme Health journal

Sorry, forgot - text on first image should read:
Opublikowany 22 lipca 2024