reformat date for Firefox