pastojs: fixed %date% omitting []

git-svn-id: trunk@40107 -
This commit is contained in:
Mattias Gaertner 2018-10-31 14:00:33 +00:00
parent c64ca00dfe
commit 1eb6ef4b27

View File

@ -144,7 +144,7 @@ begin
'%date%':
begin
DecodeDate(Now,Year,Month,Day);
SetStr('['+IntToStr(Year)+'/'+IntToStr(Month)+'/'+IntToStr(Day)+']');
SetStr(IntToStr(Year)+'/'+IntToStr(Month)+'/'+IntToStr(Day));
exit;
end;
'%time%':