Search Support

Avoid support scams. We will never ask you to call or text a phone number or share personal information. Please report suspicious activity using the “Report Abuse” option.

Learn More

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

  • 1 பதிலளி
  • 2 இந்த பிரச்னைகள் உள்ளது
  • 1 view
  • Last reply by user1929

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.

All Replies (1)

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/ .