Fix date(time) format for Firefox and iOS