Skip to content
User Avatar
#3091
Auto-translated
yes, that was my mistake. GetDate(WEEK) will return the week number of the month, so it will be 4 times larger on any 4th week. It should be rewritten like this:
local week = ceil(GetDate(DAY)/7)
Нет войне.