[BUG]: Deprecated Function strftime() in CalendarField.php #1149

Closed
opened 2024-07-23 12:37:51 +00:00 by oxido · 1 comment

What Happened?

Deprecated: Function strftime() is deprecated in /var/www/html/libraries/src/Form/Field/CalendarField.php on line 323

Steps to reproduce the Bug

In JCB go to components
Open "Demo (public)"
Click on "Publishing" tab, a warning message it will be visible for "Created Date" & Modified Date fields.
The message it is visible in anyware in JCB where the field CalendarField it is used.

This problem it doesn't affect the compiled components with JCB.

Which Joomla version are you compiling in?

5.1.2

Which PHP version are you compiling in?

8.2.21

Which Joomla versions are you targeting?

5.x.x

Which PHP version are you targeting?

8.1+

Which Web server is JCB running on?

Apache 2.4.59 (Debian)

Which Relational Database is JCB running on?

Maria DB

Which OS is JCB running on?

Ubuntu

Which JCB version are you using?

5.0.1

Where in JCB did this issue occur?

No response

On which browsers did you encounter the issue?

Firefox

Additional Comments

No response

### What Happened? Deprecated: Function strftime() is deprecated in /var/www/html/libraries/src/Form/Field/CalendarField.php on line 323 ### Steps to reproduce the Bug In JCB go to components Open "Demo (public)" Click on "Publishing" tab, a warning message it will be visible for "Created Date" & Modified Date fields. The message it is visible in anyware in JCB where the field CalendarField it is used. This problem it doesn't affect the compiled components with JCB. ### Which Joomla version are you compiling in? 5.1.2 ### Which PHP version are you compiling in? 8.2.21 ### Which Joomla versions are you targeting? 5.x.x ### Which PHP version are you targeting? 8.1+ ### Which Web server is JCB running on? Apache 2.4.59 (Debian) ### Which Relational Database is JCB running on? Maria DB ### Which OS is JCB running on? Ubuntu ### Which JCB version are you using? 5.0.1 ### Where in JCB did this issue occur? _No response_ ### On which browsers did you encounter the issue? Firefox ### Additional Comments _No response_
oxido added the
Bug
label 2024-07-23 12:37:51 +00:00
Owner

This is a settings issue it seems like that has changed in Joomla, but there is a simple fix by adding some more properties: https://github.com/joomla/joomla-cms/issues/42790

We will update things on out side, thanks!

You can manually update things on your side, or update to the next stable release when its out.

This is a settings issue it seems like that has changed in Joomla, but there is a simple fix by adding some more properties: https://github.com/joomla/joomla-cms/issues/42790 We will update things on out side, thanks! You can manually update things on your side, or update to the next stable release when its out.
oxido closed this issue 2024-07-28 01:23:38 +00:00
Sign in to join this conversation.
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: joomla/Component-Builder#1149
No description provided.