[Windows]Fix Dot based Date Format property in DatePicker not working on Windows#29058
Merged
PureWeen merged 6 commits intodotnet:inflight/currentfrom Apr 23, 2025
Merged
Conversation
Contributor
|
/azp run MAUI-UITests-public |
jsuarezruiz
suggested changes
Apr 21, 2025
| @@ -0,0 +1,23 @@ | |||
| #if TEST_FAILS_ON_CATALYST //The Format property is not supported on the Mac platform; it always displays the default format. | |||
Contributor
There was a problem hiding this comment.
Do we have a related open issue? if exists, could you include the link to the issue here? And if not, could you create a new one?
Contributor
Author
There was a problem hiding this comment.
@jsuarezruiz , I have created a new issue report and added a comment
|
Azure Pipelines successfully started running 1 pipeline(s). |
Contributor
|
/azp run MAUI-UITests-public |
|
Azure Pipelines successfully started running 1 pipeline(s). |
jsuarezruiz
approved these changes
Apr 23, 2025
github-actions bot
pushed a commit
that referenced
this pull request
Apr 28, 2025
… on Windows (#29058) * fix added * Test added * namespace changes added * modified the test * Windows and iOS snap added * Android snap added
PureWeen
pushed a commit
that referenced
this pull request
May 2, 2025
… on Windows (#29058) * fix added * Test added * namespace changes added * modified the test * Windows and iOS snap added * Android snap added
SuthiYuvaraj
pushed a commit
to SuthiYuvaraj/maui
that referenced
this pull request
May 9, 2025
… on Windows (dotnet#29058) * fix added * Test added * namespace changes added * modified the test * Windows and iOS snap added * Android snap added
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.
Issue Details
When using a dot-based format (e.g., dd.MM.yyyy) in DatePicker, only the day is shown. The issue occurs because the separator is not correctly detected, resulting in an empty string.
Description of Change
Added a condition to check for . in the format string and assign it as the separator to ensure the full date (day, month, year) is displayed correctly.
Issues Fixed
Fixes #10805
Tested the behavior in the following platforms.
Output Screenshot
Before.mp4
After.mp4