The sabbath referenced here is the High holy passover sabbath. It was now Friday when they bought the spices.
See CrucifixionWeek for details.