Parse lastStamp as Date in AvailabilityService
Type AvailabilityInfo.lastStamp as Date and convert from the JSON string in the service after fetch, so consumers work with real Date objects.
This commit is contained in:
@@ -2,6 +2,6 @@ export class AvailabilityInfo {
|
||||
public user: string;
|
||||
public loggedIn: boolean;
|
||||
public extension: string;
|
||||
public lastStamp: string;
|
||||
public lastStamp: Date;
|
||||
public firma: boolean;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user