Calculate week start and end


This is a companion discussion topic for the original entry at https://kni.me/w/04O94y8Vr7VgQz3V