Simplify the replace weekday example