ngx-smz-ui 3.2.10 → 3.2.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4585,7 +4585,7 @@
4585
4585
  function CalendarPipe() {
4586
4586
  }
4587
4587
  CalendarPipe.prototype.transform = function (data, method, days, format) {
4588
- if (moment$1(data) > moment$1(new Date()).subtract(days - 1, 'days')) {
4588
+ if (moment$1(data) > moment$1(new Date()).subtract(days, 'days')) {
4589
4589
  switch (method) {
4590
4590
  case 'fromNow':
4591
4591
  return moment$1(data).fromNow();