We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Locale issue. Cannot read property 'replace' of undefined

ERROR TypeError: Cannot read property 'replace' of undefined
    at Function.webpackJsonp.../../../../@syncfusion/ej2-base/dist/es6/ej2-base.es5.js.ParserBase.convertValueParts (ej2-base.es5.js:3022)

We have been getting the above error and I am guessing it it because of the locale.

What is the best way to set the locale to en-GB for the datepicker?

We are using "@syncfusion/ej2-calendars": "^16.1.29"

3 Replies

SP Sureshkumar P Syncfusion Team March 27, 2018 04:26 PM UTC

Hi Chris, 
 
Sorry for inconvenience caused, 
 
Yes, we can reproduce the reported issue and confirm this as a defect (in the British Summer Time Zone).  We have logged an issue report and fix for this issue will be included in our any of our upcoming or sp1 release. We appreciate your patience until then. 
 
Regards, 
Sureshkumar P 



CB Chris Barber March 28, 2018 10:32 AM UTC

Hi,

What is the workaround to enable us to use the DatePicker on our website, in the UK?

This issue is reproducible on your DatePicker demo.

We have tried the globalization and internationalization examples from your documentation without success. 

Can this be made to work in version 15? 

We have paid for a licence and need a working DatePicker for our website that will be going live soon.

Please advise.










PK Prem Kumar Madhan Raj Syncfusion Team March 29, 2018 12:50 PM UTC

Hi Chris,

Thanks for contacting Syncfusion Support.

We were able to reproduce the reported issue “Locale issue in DatePicker with British summer timezone” at our end. This issue occurs due to a common parse error in this particular timezone. And we have logged a defect report regarding the same. A support incident to track the status of this defect has been created under your account. 

Please log on to our support website to check for further updates.

https://www.syncfusion.com/account/login?ReturnUrl=%2fsupport%2fdirecttrac%2fincidents/  
 

Regards,
 
Prem Kumar M

Loader.
Up arrow icon