xamarin/Xamarin.Forms

DatePicker.Format doesn't work on UWP platform .

Ouverte

#8 670 ouverte le 26 nov. 2019

 (4 commentaires) (2 réactions) (0 personne assignée)C# (1 926 forks)batch import
e/3 :clock3:help wantedinactivep/UWPt/bug :bug:up-for-grabs

Métriques du dépôt

Stars
 (5 644 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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 .

Guide contributeur