Get Free Trial

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

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

Illia Yatsyshyn Illia Yatsyshyn Flexmonster September 23, 2020

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,

Please login or Register to Submit Answer