Method SmartDate.SetDefaultFormatString() not working as expected. #1973
-
I have a .NET Core 3.1 app which is using CSLA version I have tried setting it in The code I have used is
When using the Is it possible to set the default date format for |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Yes. The default default is Csla.SmartDate.SetDefaultFormatString("d"); Alternately, you can change the Windows date display. The reason |
Beta Was this translation helpful? Give feedback.
Yes. The default default is
d
, but you can set the default globally during app startup. For example:Alternately, you can change the Windows date display. The reason
d
is the default is because it is the OS-defined short date format, and should automatically change based on the user's culture settings.