Hi friend, We use when in time, but we use whan to compare between two things. Your sentence is right. You compare between two weeks using whan,and you use when to say what happen in the previous week.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.