Closed lnu closed 8 years ago
Sorry, this was our fault.
I had this code:
// angular-moment config
app.constant('angularMomentConfig', {
});
It's better to use this one as it keeps the default values:
// angular-moment config
app.config(['angularMomentConfig', function (angularMomentConfig) {
}]);
That's why it was undefined
Since upgrading to the latest version we get this warning:
In the preprocessDate function there is this code:
In our case,
defaultTimeZone
is null andangularMomentConfig.timezone
is undefined. We should not enter the condition