Make sure that date is run under the C locale, so dates are given in the