Търсене в помощните статии

Избягвайте измамите при поддръжката. Никога няма да ви помолим да се обадите или изпратите SMS на телефонен номер или да споделите лична информация. Моля, докладвайте подозрителна активност на "Докладване за злоупотреба".

Learn More

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

  • 1 отговор
  • 2 имат този проблем
  • 1 изглед
  • Последен отговор от 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.

Всички отговори (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/ .