@dereekb/dbx-core 9.24.23 → 9.24.25
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.
|
@@ -3985,7 +3985,7 @@ class DateDistancePipe {
|
|
|
3985
3985
|
if (input != null) {
|
|
3986
3986
|
const to = inputTo ?? new Date();
|
|
3987
3987
|
const from = ToJsDatePipe.toJsDate(input);
|
|
3988
|
-
return formatDateDistance(
|
|
3988
|
+
return formatDateDistance(to, from);
|
|
3989
3989
|
}
|
|
3990
3990
|
else {
|
|
3991
3991
|
return unavailable;
|