Rework dates in frontend code, fill in rest of variables