I am using the date plugin to get the weeknumber of certain dates. But when i try getWeekOfYear(date(“2024-10-13”)) the result is 42. But according to Epoch Converter is should be 41
from the code on github it looks like the week of year function uses the default locale, that’s why you have the incorrect value.
It would be nice to have the loaded dayjs library exposed in the plugin (the same way the supabase instance is exposed), in this way we could manage more specific cases like rhis one.