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
Description of the Issue and Steps to Reproduce:
using the amCalendar pipe results in the following error:
ERROR Error: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '37 minutes ago'. Current value: '38 minutes ago'.
at viewDebugError (core.es5.js:8661) [angular]
at expressionChangedAfterItHasBeenCheckedError (core.es5.js:8639) [angular]
at checkBindingNoChanges (core.es5.js:8803) [angular]
at checkNoChangesNodeInline (core.es5.js:12228) [angular]
at checkNoChangesNode (core.es5.js:12202) [angular]
at debugCheckNoChangesNode (core.es5.js:12776) [angular]
at debugCheckRenderNodeFn (core.es5.js:12716) [angular]
at Object.eval [as updateRenderer] (AdvisorComponent.html:202) [angular]
at Object.debugUpdateRenderer [as updateRenderer] (core.es5.js:12698) [angular]
at checkNoChangesView (core.es5.js:12062) [angular]
at callViewAction (core.es5.js:12381) [angular]
at execEmbeddedViewsAction (core.es5.js:12359) [angular]
at checkNoChangesView (core.es5.js:12061) [angular]
at callViewAction (core.es5.js:12381) [angular]
Did you search for duplicate issue? [Yes / No]
yes
Please describe the issue and steps to reproduce, preferably with a code sample / plunker:
In the view, use calendar pipe with date format param, like this: {{ person.date | amCalendar: dateFormat }}
Ensure your issue is isolated to angular2-moment. Issues involving third party tools will be closed unless submitted by the tool's author/maintainer.
Environment:
Please answer the following questions:
angular2-moment 1.3.3
Angular version? 4.0.0 (we have been experiencing the same issue since angular 2.2.*, this pipe has always given us errors, regardless of angular version)
TypeScript version? 2.2.0
moment version? 2.17.1
Are you using moment-timezone? No
Are you using the angular-cli? Yes, version 1.0.0-rc.1
Using Rollup/Webpack/System.js/Ionic/similar? using angular cli's webpack
The text was updated successfully, but these errors were encountered:
Description of the Issue and Steps to Reproduce:
using the
amCalendar
pipe results in the following error:ERROR Error: ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '37 minutes ago'. Current value: '38 minutes ago'.
at viewDebugError (core.es5.js:8661) [angular]
at expressionChangedAfterItHasBeenCheckedError (core.es5.js:8639) [angular]
at checkBindingNoChanges (core.es5.js:8803) [angular]
at checkNoChangesNodeInline (core.es5.js:12228) [angular]
at checkNoChangesNode (core.es5.js:12202) [angular]
at debugCheckNoChangesNode (core.es5.js:12776) [angular]
at debugCheckRenderNodeFn (core.es5.js:12716) [angular]
at Object.eval [as updateRenderer] (AdvisorComponent.html:202) [angular]
at Object.debugUpdateRenderer [as updateRenderer] (core.es5.js:12698) [angular]
at checkNoChangesView (core.es5.js:12062) [angular]
at callViewAction (core.es5.js:12381) [angular]
at execEmbeddedViewsAction (core.es5.js:12359) [angular]
at checkNoChangesView (core.es5.js:12061) [angular]
at callViewAction (core.es5.js:12381) [angular]
Did you search for duplicate issue? [Yes / No]
Please describe the issue and steps to reproduce, preferably with a code sample / plunker:
In the view, use calendar pipe with date format param, like this:
{{ person.date | amCalendar: dateFormat }}
Ensure your issue is isolated to angular2-moment. Issues involving third party tools will be closed unless submitted by the tool's author/maintainer.
Environment:
Please answer the following questions:
moment
version? 2.17.1moment-timezone
? NoThe text was updated successfully, but these errors were encountered: