mirror of
https://github.com/SyncrowIOT/backend.git
synced 2025-07-16 18:56:22 +00:00
Merge pull request #127 from SyncrowIOT/roles-and-permissions
changed date string to iso
This commit is contained in:
@ -197,7 +197,7 @@ export class DeviceStatusFirebaseService {
|
||||
eventId: addDeviceStatusDto.log.dataId,
|
||||
eventTime: new Date(
|
||||
addDeviceStatusDto.log.properties[0].time,
|
||||
).toLocaleDateString(),
|
||||
).toISOString(),
|
||||
});
|
||||
await this.deviceStatusLogRepository.save(newLog);
|
||||
// Save the updated data to Firebase
|
||||
|
Reference in New Issue
Block a user