Opkman: Wrong data is displayed on "Available Since" item. Issue r.32646

git-svn-id: trunk@56321 -
This commit is contained in:
balazs 2017-11-06 13:31:21 +00:00
parent 87540a5fbf
commit 4cae594814

View File

@ -1388,7 +1388,7 @@ begin
if Column = 0 then
begin
if ((Options.DaysToShowNewPackages > 0) and (DaysBetween(Now, Data^.RepositoryDate) <= Options.DaysToShowNewPackages)) and
((not Options.ShowRegularIcons) or ((Options.ShowRegularIcons) and (Data^.InstallState = 0))) then
((not Options.ShowRegularIcons) or ((Options.ShowRegularIcons) and (Data^.InstallState = 0))) and (Data^.DataType = 1) then
CellText := '- ' + FormatDateTime('YYYY.MM.DD', Data^.RepositoryDate)
else
CellText := '';