[wp-trac] [WordPress Trac] #52220: Weekly archives/week 53 incorrect crossing over a year change
WordPress Trac
noreply at wordpress.org
Tue Jan 5 20:28:24 UTC 2021
#52220: Weekly archives/week 53 incorrect crossing over a year change
------------------------------------------+------------------------------
Reporter: sugeneris | Owner: Rarst
Type: defect (bug) | Status: accepted
Priority: normal | Milestone: Awaiting Review
Component: Date/Time | Version: 5.6
Severity: normal | Resolution:
Keywords: needs-patch needs-unit-tests | Focuses:
------------------------------------------+------------------------------
Changes (by Rarst):
* keywords: => needs-patch needs-unit-tests
* owner: (none) => Rarst
* status: new => accepted
Comment:
Oh no, not in Date/Time component it's not. :) I am not sure what proper
fix would even look like here.
Going by fixing one thing at a time... Not being able to query week 0
should be fixed first, since that argument is in actual use. Then
splitting archive generation into partial weeks (week 53 exclusive next
year days and those week 0 leftovers) maybe? It's already trying to query
partial weeks, so if it ''works'' and labels are corrected that would be
somewhat logical.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52220#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list