it'd be better to merge new methods with Data object instead of overriding Data object, because there are some other libraries that can add their own methods to Data object
so I had to use Date = _.merge(Date, TimeShift.Date) (lodash) instead of Date = TimeShift.Date
it'd be better to merge new methods with Data object instead of overriding Data object, because there are some other libraries that can add their own methods to Data object
so I had to use
Date = _.merge(Date, TimeShift.Date)
(lodash) instead ofDate = TimeShift.Date