mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
remove useless date conversion (#2165)
fixes the bug for Safari whent dates get corrupted on double conversion (createdAt/modifiedAt are already dates)
This commit is contained in:
committed by
Mario Romano
parent
4addf0fb73
commit
d9bacff0de
@@ -35,9 +35,6 @@ export class FavoritesApiService {
|
||||
}
|
||||
|
||||
static remapEntry({ entry }: any): any {
|
||||
entry.createdAt = new Date(entry.createdAt);
|
||||
entry.modifiedAt = new Date(entry.modifiedAt);
|
||||
|
||||
entry.properties = {
|
||||
'cm:title': entry.title,
|
||||
'cm:description': entry.description
|
||||
|
Reference in New Issue
Block a user