mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-05-19 17:14:57 +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:
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user