-
Notifications
You must be signed in to change notification settings - Fork 122
Closed
Description
Hello,
Can you please indicate an idea how to solve the problem of DateConverter implementation in version 8 as after updating from v6, our application has lots of breaking issues.
For example if we get undefined value for a Date property, the:
Initially, the implementation of date.converter.js for unmask was:
import { format, parse } from 'date-fns';
unmask(value: any) {
return format(value, 'YYYY-MM-DDTHH:mm:ssZ'); // with Undefined it was OK
}
Now:
DateConverter.prototype.unmask = /**
* @param {?} value
* @return {?}
*/
function (value) {
return value.toISOString(); // with Undefined it is NOT OK :(
};
Thanks for any suggestion!
Metadata
Metadata
Assignees
Labels
No labels