You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am using Slug.php to generate slugs in a phalcon project. The project is configured to display the dates in French. However, after I generate a slug, the dates are in English. If I don't create a slug, the dates are in French as expected.
Expected and Actual Behavior
I am using Slug.php to generate slugs in a phalcon project. The project is configured to display the dates in French. However, after I generate a slug, the dates are in English. If I don't create a slug, the dates are in French as expected.
I expect the date to be always in French.
Locale value (from
setlocale(LC_ALL, '0');
):I use the Slug like this:
Sample controller:
Sample view
I was able to track the error to this line: if I comment it, the locales are correctly restaure. Is the operation it does really required?
Details
The text was updated successfully, but these errors were encountered: