@tilde-nlp/ngx-common 2.0.15 → 2.0.16

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.
@@ -434,6 +434,9 @@ class DateAgoPipe {
434
434
  get justNowSeconds() { return this.settings?.justNowSeconds ?? this.defaultSettings.justNowSeconds; }
435
435
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
436
436
  transform(value, enableMultiplePostfix = true) {
437
+ if (!value) {
438
+ return "";
439
+ }
437
440
  const dateAgo = this.calculateDateAgo(value, enableMultiplePostfix);
438
441
  if (!dateAgo) {
439
442
  return "";