Zoeken in Support

Vermijd ondersteuningsscams. We zullen u nooit vragen een telefoonnummer te bellen, er een sms naar te sturen of persoonlijke gegevens te delen. Meld verdachte activiteit met de optie ‘Misbruik melden’.

Meer info

Deze conversatie is gearchiveerd. Stel een nieuwe vraag als u hulp nodig hebt.

Date format in new date input field to yyyy-mm-dd

  • 1 antwoord
  • 2 hebben dit probleem
  • 1 weergave
  • Laatste antwoord van user1929

more options

Hi, Firefox 57, new date format has some wired issue with date input viewing mode.

<input type="date" value="2017-10-24" name="mydate">

The above input get to the server in correct way but when viewing the format shows as mm/dd/yyyy. I changed the browser language to British en-gb as per some help articles says but still it shows as the same. Please see the screenshots. Even change date format from control panel also does not work.

I have lot of web based systems which uses date inputs to get user data. my customers complains about this issue and I have not solution to give.

Please help me to get this issue solved.

Hi, Firefox 57, new date format has some wired issue with date input viewing mode. <input type="date" value="2017-10-24" name="mydate"> The above input get to the server in correct way but when viewing the format shows as mm/dd/yyyy. I changed the browser language to British en-gb as per some help articles says but still it shows as the same. Please see the screenshots. Even change date format from control panel also does not work. I have lot of web based systems which uses date inputs to get user data. my customers complains about this issue and I have not solution to give. Please help me to get this issue solved.

Alle antwoorden (1)

more options

According to https://blog.nightly.mozilla.org/2017/06/12/datetime-inputs-enabled-on-nightly/ , "<input type=date> and <input type=time> input box are automatically formatted based on your browser locale, that means the Firefox browser with the language you downloaded and installed". Are you using the en-GB version of Firefox (which is different from changing the language settings in the preferences)? If not, you can download it from here: https://ftp.mozilla.org/pub/firefox/releases/57.0/win64/en-GB/ .