Another fix to api date stuff