On a Tiki25 I have tracker items created yesterday and today.
If I set a plugin List and filter using "day" argument to filter a date range it is working as expected for the "modification_date" but not for the "creation_date".
IE: These are the dates outputted by tiki-pluginlist_experiment.php
modification_date => "2023-02-28 06:01:22"
creation_date => "2023-02-27 14:05:01"
If I use
{filter range="modification_date" from="-2 day" to="-1 day"} it will output the items
If I use
{filter range="creation_date" from="-2 day" to="-1 day"} 0 results
(I also tried from="-3 day" to be sure it was not a timezone issue) 😉
Both should work the same.
As workaround for this specific case (won't work if I need -4 days), I can use
{filter range="modification_date" from="yesterday" to="now"}
{filter range="creation_date" from="yesterday" to="now"}
Or
Create an extra date field
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |