Remove moment.js dependencies - updates after review

This commit is contained in:
Jakub Wojciechowski
2017-08-15 12:31:49 +02:00
parent 17cfb0fc78
commit 0d6846a882
2 changed files with 53 additions and 16 deletions

View File

@ -44,6 +44,5 @@ export const duration = {
hours: function(val) { return val * this.minutes(60) },
days: function(val) { return val * this.hours(24) },
weeks: function(val) { return val * this.days(7) },
months: function(val) { return val * this.days(30)},
years: function(val) { return val * this.days(365)}
};