Okay, sorry, I didn't properly look at the documentation for strftime. The answer is:
strftime
strftime("2024-12-30", "%G-%V") [1] "2025-01"