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
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
To help developers solve the bug, we kindly request that you demonstrate your bug on a show.tikiwiki.org instance. To start, simply select a version and click on "Create show.tikiwiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show.tikiwiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |