Fixing time and date field for Firefox