Properly format a date for FF