mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 07:06:08 +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%':
|
'%date%':
|
||||||
begin
|
begin
|
||||||
DecodeDate(Now,Year,Month,Day);
|
DecodeDate(Now,Year,Month,Day);
|
||||||
SetStr('['+IntToStr(Year)+'/'+IntToStr(Month)+'/'+IntToStr(Day)+']');
|
SetStr(IntToStr(Year)+'/'+IntToStr(Month)+'/'+IntToStr(Day));
|
||||||
exit;
|
exit;
|
||||||
end;
|
end;
|
||||||
'%time%':
|
'%time%':
|
||||||
|
Loading…
Reference in New Issue
Block a user