mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-09-17 14:21:29 +00:00
[AAE-16965] Improve data table date column (#9038)
* [AAE-16965] Improve Date data table column type * [AAE-16965] Date unit tests * update docs * cleanup cells after implement inject * bring back removed constructors * remove empty constructors * replace constructor token injection by inject function * [AAE-16965] Use other variable for template * implement suggestions * update demo shell module * fix unit test * fix timeAgo problem * add some more unit tests * fake change in extensions * [AAE-16965] fix for backward compatibility
This commit is contained in:
@@ -25,6 +25,7 @@ import { differenceInDays, formatDistance } from 'date-fns';
|
||||
import * as Locales from 'date-fns/locale';
|
||||
|
||||
@Pipe({
|
||||
standalone: true,
|
||||
name: 'adfTimeAgo'
|
||||
})
|
||||
export class TimeAgoPipe implements PipeTransform, OnDestroy {
|
||||
|
Reference in New Issue
Block a user