We have a customer that uses the following Short Date format: ddd/MM/dd/yy
When he clicks the Now button in a TcxDateEdit control, an unknown exception is thrown. The editor shows both Date and Time and has InputKind of Standard. If I change the InputKind to RegExpr the error disappears, but the underlying value is still not the proper one.
Hello,
Would you please describe how to reproduce the problematic behavior with the attached sample project?
Thanks in advance.
Hi, Paulo,
I mean the system short date format, not the control one.
You need to go to Control Panel\Clock and Region > Change date, time, or number format > Additional settings > Date.
Then change the Short date value to: ddd/MM/dd/yy
Now go to your demos, launch the ExpressEditors Features demo, go to Date Picker, select Date And Time in Kind, check Show Now Button, and then click the Now button in the editor. It will only set the date, but not the time. There is no way to add the time.
You should be able to see the same behavior in the demo you've sent me too.
In my app it crashes, but that might be due to some other properties set.
But in all cases, it does not work as expected.
Thank you for your clarification. I have reproduced the OLE conversion exception with that Short Date Time format. It may take us some time to find an appropriate solution.
May I make the content of this ticket visible to other visitors of our site? When we find a solution, it may be useful to them.
Yes, feel free to make it public.