question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

DatePicker: Format not working on Windows. VS 2022 - Version 17.3.0 Preview 1.1

See original GitHub issue

Description

I defined DatePicker with this format: “dd/MM/yyyy”; here you have the XAML definition:

<Label Text="Fecha de Nacimiento"/> <DatePicker Format="dd/MM/yyyy"/>

Format is not working on Windows, it displays the standard date format: “MM/dd/yyyy”. On Android, this specific format is working well.

Please, see the images attached…

On Windows: image

On Android: image

Steps to Reproduce

  1. Create a New MAUI App (Microsoft Visual Studio Community 2022 (64-bit) - Preview Version 17.3.0 Preview 1.1)
  2. Add a Label and a DatePicker with this XAML fragment:

<Label Text="Fecha de Nacimiento"/> <DatePicker Format="dd/MM/yyyy"/> 3. Run it on Windows (in my case Windows11) and on Android (in my case Android12 - Api 31).

Version with bug

6.0 (current)

Last version that worked well

Unknown/Other

Affected platforms

Windows

Affected platform versions

6.0.300 [C:\Program Files\dotnet\sdk]

Did you find any workaround?

No.

Relevant log output

No response

Issue Analytics

  • State:closed
  • Created a year ago
  • Comments:5

github_iconTop GitHub Comments

1reaction
NonameMissingNocommented, Jun 12, 2022

Reproducible on Windows 11, VS 17.3.0 Preview 1.1 image

0reactions
msftbot[bot]commented, Sep 24, 2022

Hello lovely human, thank you for your comment on this issue. Because this issue has been closed for a period of time, please strongly consider opening a new issue linking to this issue instead to ensure better visibility of your comment. Thank you!

Read more comments on GitHub >

github_iconTop Results From Across the Web

DatePicker: Format not working on Windows. VS 2022 - ...
DatePicker : Format not working on Windows. VS 2022 - Version 17.3.0 Preview 1.1 · Summary · Jobs. label-partner-issues · Run details. Usage...
Read more >
.NET MAUI - Microsoft Q&A
I have problem with debugging Android app in .NET MAUI in VS2022 Preview 17.3.0 1.1. The project is not building. This error shows...
Read more >
Issues with Date Picker / Date Formats
I'm having some problems getting my dates to display / submit correctly using a Datepicker linked to a SharePoint List column configured as...
Read more >
Jquery datepicker format date not working
This is working. Try just format option not dateFormat. Because due to different version of datepicker. – shiv. Sep 25, 2020 at 6:24....
Read more >
commitlint/config-lerna-scopes
New packages and versions may not show up in this interface due to an ongoing npm incident. Only search is affected, installs work...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found