Project

General

Profile

Actions

Task #3566

closed

ReleasePlan template logic fails, when the first days of a year are still part of week 52 of the previous year

Added by Beluga Beluga over 2 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
Wiki
Target version:
-
Start date:
2022-01-01
Due date:
2022-01-02
% Done:

100%

Tags:

Description

Originally reported as https://bugs.documentfoundation.org/show_bug.cgi?id=146512

You can see my attempt, which was not perfect:
https://wiki.documentfoundation.org/WikiAction/history/Template:Release-plan-background-color-one-week

The problem with my attempt was week 52 of 2021 did not appear as yellow in 7.2.5 release plan on 1 Jan 2022.

You can preview the result live by pasting a Release-plan-bugfix-normal template instance into the <noinclude> section of the Release-plan-background-color-one-week template.

I think the wiki template logic becomes monstrous and insanity-inducing to reason about in this case. It is a stupid language for conducting this sort of business.

Actions

Also available in: Atom PDF