xamarin/Xamarin.Forms

DatePicker.Format doesn't work on UWP platform .

Open

#8,670 opened on Nov 26, 2019

 (4 comments) (2 reactions) (0 assignees)C# (1,926 forks)batch import
e/3 :clock3:help wantedinactivep/UWPt/bug :bug:up-for-grabs

Repository metrics

Stars
 (5,644 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

I have a DatePicker in my application and I want to display the date in this format : 11/26/2019 So I change the Format property as follow :

myDatePicker.Format = "MM/dd/yyyy"
myDatePicker.Date = DateTime.Now;

Above code works fine on Android and iOS , but on UWP ,the display date got this format : November 26 2019 .

Contributor guide