You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The MongoDB date format(ISO_8601) is not handled as a valid date in momentLocalizer
Proposed solution:
functionparse(value,format,culture){if(!value)returnundefined;// localizers should return undefined for empty inputsvarm=getMoment(culture,value,format);if(m.isValid()){returnm.toDate();}else{//is ISO-8601?m=getMoment(culture,value,moment.ISO_8601);if(m.isValid)returnm.format(format);}returnnull;// localizers should return nul for invalid inputs}
The text was updated successfully, but these errors were encountered:
The MongoDB date format(ISO_8601) is not handled as a valid date in momentLocalizer
Proposed solution:
The text was updated successfully, but these errors were encountered: