When we try to set the Unpublish date and select a date from the calendar, for some the time will not set and in our console we get a moment.utc(....).utcOffset is not a function error in the Angular. This seems to be in the core of Umbraco.
Any ideas why this would be causing this issue? My content editors can't set the dates. I even tried as an admin and still having issues.
So we found our issue. We have Diplo Date Range Picker installed in our system. Evidently in the daterangepicker.controller.js file it has a reference to Moment.js, which is an older version of Moment AND core Umbraco uses Moment JS as well. So I switched out the reference in the .load() method in the Angular to point to the Umbraco reference instead.
Umbraco 7.12 having issues setting Publish and Unpublish dates. Getting Moment.js errors
We have a site running Umbraco 7.12.
When we try to set the Unpublish date and select a date from the calendar, for some the time will not set and in our console we get a moment.utc(....).utcOffset is not a function error in the Angular. This seems to be in the core of Umbraco.
Any ideas why this would be causing this issue? My content editors can't set the dates. I even tried as an admin and still having issues.
ANSWER:
So we found our issue. We have Diplo Date Range Picker installed in our system. Evidently in the daterangepicker.controller.js file it has a reference to Moment.js, which is an older version of Moment AND core Umbraco uses Moment JS as well. So I switched out the reference in the .load() method in the Angular to point to the Umbraco reference instead.
This fixed our issue.
is working on a reply...