fixed lwm2m ResourcModel parsing

This commit is contained in:
YevhenBondarenko 2025-01-10 20:48:19 +01:00
parent bb93ec7ee1
commit 4e8c6beee8

View File

@ -180,7 +180,7 @@ public class LwM2MClientSerDes {
case STRING:
return value.getAsString();
case TIME:
return Instant.ofEpochMilli(value.getAsLong());
return new Date(value.getAsLong());
case OBJLNK:
return ObjectLink.decodeFromString(value.getAsString());
case UNSIGNED_INTEGER: