Reported By: Ronald van der Pas Reported On: 8/30/2012 For: Version 1.00 Build 1
# 3652Setting FormatSettings ShortDateFormat to Certain Formats Causes Error In my OnCreate event I set the ShortDateFormat. On start of the app I get the error:
Error in the format string M-d-yyyy (Too many date components).
procedure TForm1.Form1Create(Sender: TObject);
begin
FormatSettings.DateSeparator:='-';
FormatSettings.ShortDateFormat:='M-d-yyyy';
end;
CommentsThe problem was with the '-' sign being considered the start of a number by the format parser.
ResolutionFixed Problem on 8/30/2012 in version 1.01 build 1
Products AffectedElevate Web Builder Elevate Web Builder Trial