Multiple holiday data
I have a file for 2020 holidays and one for 2021. I got both included in .taskrc. But now that we are in December and "task calendar" shows the end of this year and the beginning of the next, only the holidays of the last included file are listed, i.e. include 2020 + include 2021 = holiday list of 2021; include 2021 + include 2020 = holiday list of 2020.
Is this a bug? Or intended and I should merge all my holidays into one single file?
Task version 2.5.1.
Posted Dec 6, 2020, 10:18 AM UTC
25
Are you duplicating the index numbers?
The holiday entries in the
.taskrclook likeIn the above case, the index is
8. If you simply concatenate two such years, their indices may overlap, causing Taskwarrior to choose one or the other. If you disambiguate the indices, you should see both.Fixed formatting.
Hello, pglezen: code blocks using triple backticks (```) don't work on all versions of Reddit!
Some users see this / this instead.
To fix this, indent every line with 4 spaces instead.
FAQ
^(You can opt out by replying with backtickopt6 to this comment.)
Thank you, backtickbot. Where would I be without you?
Oh, that could totally be it! Will have a look in a few hours, thanks.
It was exactly what you said. The script included wasn't working for me and I tried to convert the csv from Holidata, each year file separately so I got matching indexes for each festivity in each converted file. Thanks!