mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-20 18:09:27 +02:00
pastojs: fixed %date% omitting []
git-svn-id: trunk@40107 -
This commit is contained in:
parent
c64ca00dfe
commit
1eb6ef4b27
@ -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%':
|
||||
|
Loading…
Reference in New Issue
Block a user