FIX calendar picker if weeknumbers hidden and time format 24h#42183
Closed
cyrez wants to merge 1 commit intojoomla:5.0-devfrom
Closed
FIX calendar picker if weeknumbers hidden and time format 24h#42183cyrez wants to merge 1 commit intojoomla:5.0-devfrom
cyrez wants to merge 1 commit intojoomla:5.0-devfrom
Conversation
4 tasks
Member
|
As it is a bug fix which is also relevant for 4.4, this pull request should be rebased or redone for the 4.4-dev branch. Maintainers will merge it up to 5.0-dev when it has been merged in 4.4-dev. |
Contributor
Author
|
Thanks @richard67 ! I will close this PR in favor of this new one: #42185 |
Member
|
Thanks to you for the PR, @cyrezdev . |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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
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 dedault 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.
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