Fixed issue where the correct date was not sent meaning that the POST request would always fail