Remove fixed ShortDateFormat := 'yyyy-mm-dd'

git-svn-id: https://svn.code.sf.net/p/lazarus-ccr/svn@1267 8e941d3f-bd1b-0410-a28a-d453659cc2b4
This commit is contained in:
brandysb
2010-08-01 12:56:00 +00:00
parent d8564fc170
commit c5c5822365

View File

@ -685,9 +685,8 @@ function OgFormatDate(Value : TDateTime) : string;
var
S : string;
begin
ShortDateFormat := 'yyyy-mm-dd';
{
S := ShortDateFormat;
{ ShortDateFormat := 'yyyy-mm-dd';
S := ShortDateFormat;
if Pos('yyyy', S) = 0 then
Insert('yy', S, Pos('yy', S));
if Pos('MMM', S) > 0 then