The only thing I could find on a quick search, is this app on F-Droid: https://www.f-droid.org/packages/de.nulide.shiftcal/
Very basic, and only on Android. I couldn't find anything for desktop platforms.
If it's free and open source and it's also software, it can be discussed here. Subcommunity of Technology.
This community's icon was made by Aaron Schneider, under the CC-BY-NC-SA 4.0 license.
The only thing I could find on a quick search, is this app on F-Droid: https://www.f-droid.org/packages/de.nulide.shiftcal/
Very basic, and only on Android. I couldn't find anything for desktop platforms.
Maybe try Thunderbird which have it's own calendar feature built in?
Just use some sort of calendar. Probably the easiest solution.
Can you tell us more about your work shifts? Maybe you can give an example of a 5 week schedule.
What stops you from using repeating calendar events? Set up your shift, repeat every five weeks, done. Or does this follow a more complex pattern?