fix pastDate