Need a special offer?Find out if your project fits.
+

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