Before / until the end of
Solution 1:
Generally the difference between before and until is that the day/time in question is excluded in the context of the former while is included in the later.
Barring the complications arising from when the school week ends (as no universal definition is available to the phrase). The sentences do mean the same in this particular case.
Let me explain further
Before Friday and Until Friday are different as Friday is excluded in the former while is included in the later.
Where as
Before 12pm and Until 12pm are effectively the same as only precise moment 12pm is excluded or include and hardly makes a difference.
How this was helpful.