|
|
@@ -26,9 +26,9 @@ export class ContactItem {
|
|
|
this.alternateNames = props.alternateNames || [];
|
|
|
this.name = props.name || '';
|
|
|
this.me = props.me;
|
|
|
- this.lastSent = props.lastSent;
|
|
|
- this.lastReceived = props.lastReceived;
|
|
|
- this.lastChanged = props.lastChanged;
|
|
|
+ this.lastSent = props.lastSent ? new Date(props.lastSent) : undefined;
|
|
|
+ this.lastReceived = props.lastReceived ? new Date(props.lastReceived) : undefined;
|
|
|
+ this.lastChanged = props.lastChanged ? new Date(props.lastChanged) : undefined;
|
|
|
this.notes = props.notes || '';
|
|
|
}
|
|
|
|