Closed deviprsd closed 7 years ago
Make sure you have moment
installed with npm, and that you've defined it as a dependency in your vendor bundle.
No this is a bug in aurelia.io, I'm reporting it http://aurelia.io/hub.html#/doc/article/aurelia/binding/latest/binding-value-converters/3
Oops! My bad, yup, that's broke all right 😄
Moment is included in the file, why is there an error then?
Moment seems to be the Moment instance, not a function
The official docs suggest this
import * as moment from 'moment';
let now = moment().format('LLLL');
Somebody is on it, they've got a backlog of things to do over the weekend, and this is one of them.
Okay 👍
The demos of this page Converters is not working.
Console shows this error