Some tweaks for setting the http dates