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
amCalendar crashes the app. I am using angular2-moment like this.
message.created_at | amCalendar:{sameDay:'h:mm A', sameElse:'DD/MM/YYYY'}
Last day I found this crashes the app with following stack trace.
ERROR TypeError: moment.isMoment is not a function at CalendarPipe.transform (calendar.pipe.js:39) at Object.eval [as updateRenderer] (ChatPage.ngfactory.js:347) at Object.updateRenderer (core.es5.js:12620) at checkAndUpdateView (core.es5.js:12149) at callViewAction (core.es5.js:12507) at execEmbeddedViewsAction (core.es5.js:12465) at checkAndUpdateView (core.es5.js:12145) at callViewAction (core.es5.js:12507) at execComponentViewsAction (core.es5.js:12439) at checkAndUpdateView (core.es5.js:12150)
Environment:
Please answer the following questions:
Angular version? 4.1.3
TypeScript version? 2.3.4
moment version? 2.19.0
Are you using moment-timezone? No
Are you using the angular-cli? Yes
Using Rollup/Webpack/System.js/Ionic/similar? Ionic
The text was updated successfully, but these errors were encountered:
amCalendar crashes the app. I am using angular2-moment like this.
ERROR TypeError: moment.isMoment is not a function at CalendarPipe.transform (calendar.pipe.js:39) at Object.eval [as updateRenderer] (ChatPage.ngfactory.js:347) at Object.updateRenderer (core.es5.js:12620) at checkAndUpdateView (core.es5.js:12149) at callViewAction (core.es5.js:12507) at execEmbeddedViewsAction (core.es5.js:12465) at checkAndUpdateView (core.es5.js:12145) at callViewAction (core.es5.js:12507) at execComponentViewsAction (core.es5.js:12439) at checkAndUpdateView (core.es5.js:12150)
Environment:
Please answer the following questions:
moment
version? 2.19.0moment-timezone
? NoThe text was updated successfully, but these errors were encountered: