@tilde-nlp/ngx-common 8.1.81 → 8.1.82

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.
@@ -1893,7 +1893,7 @@ class ExpiresInPipe {
1893
1893
  return '';
1894
1894
  }
1895
1895
  const translations = this.translations[currentLangCode];
1896
- const targetTimestamp = Date.parse(value.trim());
1896
+ const targetTimestamp = value.getTime();
1897
1897
  const DAYS_30_IN_MS = 2592000000;
1898
1898
  const now = Date.now();
1899
1899
  let diffInMs = targetTimestamp - now;