Vyhľadajte odpoveď

Vyhnite sa podvodom s podporou. Nikdy vás nebudeme žiadať, aby ste zavolali alebo poslali SMS na telefónne číslo alebo zdieľali osobné informácie. Nahláste prosím podozrivú aktivitu použitím voľby “Nahlásiť zneužitie”.

Learn More

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

  • 1 odpoveď
  • 2 majú tento problém
  • 1 zobrazenie
  • Posledná odpoveď od 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.

Všetky odpovede (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/ .