[5.3] FIX calendar picker if weeknumbers hidden and time format 24h#42185
[5.3] FIX calendar picker if weeknumbers hidden and time format 24h#42185rdeutz merged 7 commits intojoomla:5.3-devfrom
Conversation
|
This pull request has been automatically rebased to 5.2-dev. |
|
This pull request has been automatically rebased to 5.3-dev. |
|
I have tested this item 🔴 unsuccessfully on 4c1d10b BUT without the PR applied, NONE of the 2 date pickers showed the time. (And even after the Download Package was applied with the PR rolled in), NEITHER of the 2 date pickers showed the time ;( ;( Sorry @cyrezdev This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42185. |
|
When you have applied patch @exlemor, did the calendar.js and calendar.min.js were updated as well in media/system/js/ folder? |
|
Imo, it's possible that i didn't explain clearly enough the issue. (2 years ago...) So, before to patch, if you set add attribute "weeknumbers=false", you can see time, select one, but if you change it, click on close, it won't be saved. Simple example: B. Apply the patch, test A. with weeknumbers=false |
|
I've update PR with a Note to add better instruction. Hope this helps? |
|
I have tested this item ✅ successfully on 4c1d10b This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42185. |
|
I have tested this item ✅ successfully on 4c1d10b This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42185. |
|
RTC This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/42185. |
|
Thanks |
Pull Request for Issue introduced (by me 🥇 ) in PR #40761.
Affected Joomla versions: 4.4.0 and 5.0.0
Summary of Changes
Quick FIX : Time select broken if calendar form field has
weeknumbersattribute onfalse.Check if weeknumbers is true or false to listen to correct number of childNodes.
Calendar form field with 12h (AM/PM) time format is not affected by the issue, as well as calendar picker with week numbers (so Joomla core not affected).
Testing Instructions
Set 2 form fields of type calendar like this (with and without week numbers):
Note: default timeformat is 24 and default weeknumbers is true.
Actual result BEFORE applying this Pull Request
You can't change Time (hour and/or minutes) with the
no_week_numberscalendar picker.It's working with the other form field.
Note
EDIT 2025-08-23 PBF
The issue is if
weeknumbersattribute is set tofalseyou can change the time, click on close, but the time is not changed. Still the previous time display, not the new one.Expected result AFTER applying this Pull Request
It's working in both cases.
Link to documentations
Please select:
Documentation link for docs.joomla.org:
No documentation changes for docs.joomla.org needed
Pull Request link for manual.joomla.org:
No documentation changes for manual.joomla.org needed