There's Timex.weekday/1 that assumes an iso-week and Timex.weekday/2 that allows you to specify the start of the week. I was surprised that Timex.week_of_month doesn't have a version that allows you to specify the start of the week. Also, the docs don't explicitly say that it's using a Monday week start (though it's typical to assume ISO8601 standards, it would still be good to explicitly state it).
Since there are functions that allow specifying different starts of the week, I think it makes sense that the docs at least specify which day of the week is used as the start for the calculation. Ideally there's a version that allows specifying the week start, though.
There's
Timex.weekday/1that assumes an iso-week andTimex.weekday/2that allows you to specify the start of the week. I was surprised thatTimex.week_of_monthdoesn't have a version that allows you to specify the start of the week. Also, the docs don't explicitly say that it's using a Monday week start (though it's typical to assume ISO8601 standards, it would still be good to explicitly state it).Since there are functions that allow specifying different starts of the week, I think it makes sense that the docs at least specify which day of the week is used as the start for the calculation. Ideally there's a version that allows specifying the week start, though.