When using symbol inside apostrophe delimited text, part of the date string, on display the symbol is being changed to "/".
Steps to Reproduce:
How to reproduce the problem:
- Go to Control Panel -> Regional Settings -> Date Format
- Set Short Format to
dd.MM.yyyy 'y.' - Create New Project and place on the form TcxDateEdit component
- Run and set date to 27.07.2011
Actual Results:
the component display data 27.07.2011 y/
Expected Results:
the component must display data 27.07.2011 y.
When we install Windows with Bulgarian Regional Settings the default date format setting is dd.mm.yyyy 'г.'
Hello Dimitar,
We have examined this problem, but have found that it occurs due to an issue in the Embarcadero Delphi IDE. Please refer to the following bug report:
http://qc.embarcadero.com/wc/qcmain.aspx?d=96844
As a temporary workaround, please use the following code:
uses ... cxFormats, cxDateUtils, ... initialization FormatSettings.ShortDateFormat := cxGetLocalShortDateFormat; cxFormatController.GetFormats;
Thanks,
Valdemar