Prometió resolver el problema antes del fin de semana y, dicho y
hecho, lo solucionó el viernes.

She promised to solve the problem before the weekend and, true to her word, she solved it on Friday.