* Fixed strtotime. Last character was never taken into account

git-svn-id: trunk@12005 -
This commit is contained in:
michael 2008-11-01 11:05:21 +00:00
parent dfda298172
commit 65637e301f

View File

@ -457,7 +457,7 @@ var
begin
result := -1;
Inc(Current);
while (result = -1) and (Current < Len) do
while (result = -1) and (Current <= Len) do
begin
if S[Current] in ['0'..'9'] then
begin