zikula-modules / Weblinks

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

All Links New

lasker opened this issue · comments

The template plugin newlinkgraphic set all my links to the new red gif.
Same problem in categorynewlinkgraphic.

I'm not sure but when i change

$days = (int)$diff->format('d');

to

$days = (int)$diff->format('%a');

the results are fine.

From the php-Manual

d Days, numeric
a Total number of days as a result of a DateTime:diff() or (unknown) otherwise

thanks for all your effort in testing! Let me know if you find anything else.

A little bit testing is nothing compared to your work. Thank you. :-) In the next days i will test a little bit more.