Patterns: Format datepicker value in a culture neutral way

This commit is contained in:
Jonathan Jenne 2022-08-29 16:25:55 +02:00
parent ebfa03b490
commit 4c893c2939

View File

@ -48,7 +48,8 @@ Namespace Modules
Case GetType(DevExpress.XtraEditors.DateEdit)
Dim oDateEdit As DevExpress.XtraEditors.DateEdit = oControl
oReplaceValue = oDateEdit.EditValue
Dim oDateValue As Date = oDateEdit.EditValue
oReplaceValue = oDateValue.ToString("yyyyMMdd")
Case GetType(DevExpress.XtraEditors.LookUpEdit)
Dim oLookupEdit As DevExpress.XtraEditors.LookUpEdit = oControl