was using .toLocaleDateString(), but sometimes this included the day of the week