TLDR:
- US and EU date formats show identical results
- Results for child-three are as expected/designed…
According the docs on dateRange:
The dateRange will filter out any pages that have a date outside (emphasis are mine) the provided dateRange
In code file /system/src/Grav/Common/Page/Collection.php lines 362-364 this is implemented as:
- Note:
$start
and$end
are the limits ofdateRange
and$date
ispage.date
if ((!$start || $date >= $start) && (!$end || $date <= $end)) { $date_range[$path] = $slug; }
Do the math:
- Date
31-12-2024
equals1735603200
equalsDecember 31st at 12:00am
- Date
31-12-2024 13:53
equals1735653180
equalsDecember 31st at 1:53pm
December 31st at 1:53pm
is larger thanDecember 31st at 12:00am
hence it will be excluded from the range.
It seems the problem must be sought between the chair and the keyboard…