Hello.
Can someone tell me how to format a date from Fri Feb 12 2016 00:27:04 GMT+0100 (Rom) to 12. February 00:27 or something simular with Momentjs?
In my Collection2 schema i have the following code:
PostSchema = new SimpleSchema ({
createdAt: {
type: Date,
label: "Created At",
autoValue: function() {
return new Date()
},
autoform: {
type: "hidden"
}
}
});