Following this article, I am using the ISOWeek "R" package in Tibco Spotfire to return the ISOWeek for a specific date.
According to all websites, 01-Dec-2019 is Week 48. This day is a Sunday, and ISO 8601 assumes a week starts on a Monday.
https://www.epochconverter.com/weeks/2019
However, the TERR function in Spotfire, when passed the date 01-Dec-2019 returns week 49...almost as if it is making Sunday the start day of the week, in complete contradiction to ISO 8601.
This is the Spotfire output.
This indeed looks like a bug. A more reliable solution might be to use strftime: