Skip to content

Commit c58b255

Browse files
authored
close #49 (#50)
1 parent 1d4bcf2 commit c58b255

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

CodeBeam.MudExtensions/Components/DateWheelPicker/MudDateWheelPicker.razor.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,11 +34,11 @@ protected override void OnInitialized()
3434
internal bool StandaloneEx { get; set; } = true;
3535

3636
/// <summary>
37-
/// The date format that determines the text and wheel order. Default is "dd.MM.yyyy".
37+
/// The date format that determines the text and wheel order. Default is Thread.CurrentThread.CurrentUICulture.DateTimeFormat.ShortDatePattern.
3838
/// </summary>
3939
[Parameter]
4040
[Category(CategoryTypes.FormComponent.Behavior)]
41-
public string DateFormat { get; set; } = "dd.MM.yyyy";
41+
public string DateFormat { get; set; } = Thread.CurrentThread.CurrentUICulture.DateTimeFormat.ShortDatePattern;
4242

4343
/// <summary>
4444
/// If false, users have to click the "done" button to submit value before close popover. Default is true.

0 commit comments

Comments
 (0)