Problem/Motivation

If we have content with date year-01-01 00:00:00 and we are filtering to year, we can't get neither in year nor in year-1.

Steps to reproduce

Using this module to filter your contents based on year.
If your contents has date ex: 2023-01-01 00:00:00 the content will not be displayed neither for 2023 nor for 2022.

Proposed resolution

We should include the 00:00:00 as first minute of the new year.

Comments

Kosa Ilma created an issue. See original summary.

kosa ilma’s picture

kosa ilma’s picture

Assigned: kosa ilma » Unassigned
Status: Active » Needs review
berramou’s picture

Hello @Kosa Ilma,
Thank you for you report, and your patch!
I will review and test your patch.

  • berramou committed 7aa97970 on 2.0.x authored by Kosa Ilma
    Issue #3399503 by Kosa Ilma: The year-01-01 00:00:00 time is left out...
berramou’s picture

Status: Needs review » Fixed
berramou’s picture

Status: Fixed » Closed (fixed)