Despite the COVID-19 outbreak, our team continues operating at full speed. We are always here to support and answer all your questions.

Feel free to reach out by filling this quick form.

Fill the form
Get Free Trial

Date format with 'YYYY-MM-DD' does not get supported for esm5

Answered
Xiao Shen asked on September 22, 2020

When I formated the Date field as

item.activityDate = UtilitiesService.convertDateToString(<Date>item.activityDate, ‘YYYY-MM-DD’);

 
I received the following error.
 
TypeError: Cannot read property ‘w’ of undefined
 
We are currently using es5.

1 answer

Public
Illia Yatsyshyn Illia Yatsyshyn Flexmonster September 23, 2020

Hello,
 
Thank you for writing to us.
 
Our team did not manage to reproduce the problem using the ES5 version of Flexmonster.
Please provide us with a sample data set that would entail the issue (use dummy data if needed).
 
We are looking forward to hearing from you.
 
Kind regards,
Illia

Please login or Register to Submit Answer