Language problems in EPiServer Forms DateTime field

Vote:
 

Hi!

I recently installed the missing DateTime field in EPiServer forms, by running this command: "Install-Package EPiServer.Forms.Samples".

For me it works fine, but for most of my colleagues who have en-GB set as native language on their computer, the form fails. This is due to the language settings in EPiServerFormsSample.js. en-US is included, but en-GB is not.

How do I fix this? I could probably change the js file to include the missing language, but it will probably be overwritten some time, if I install a package update.

This is line 56 in the js file:

dateFormat = dateFormatSettings ? dateFormatSettings.pickerFormat : $.datetimepicker._defaults.dateFormat

If your computer has an unsupported language, the part after the colon is run, but the $.datetimepicker is undefined.

#176811
Edited, Mar 28, 2017 11:59
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.