Change the return type of the app lifecycle's updated time #491

Merged
tcdlpds merged 1 commits from tcdlpds/device-mgt-core:apim420 into apim420 3 months ago
Owner

If the API returns Timestamp object it creates from the Unix timestamp (in milliseconds), but its string representation depends on the JVM’s default timezone. Therefore it returns timestamp based on JVM's timezone. Since it is required to return UTC time, changed the data type and returns the long value. With this improvement it is guaranteed that client gets the UTC time of the app lifecycle's updated time.

If the API returns Timestamp object it creates from the Unix timestamp (in milliseconds), but its string representation depends on the JVM’s default timezone. Therefore it returns timestamp based on JVM's timezone. Since it is required to return UTC time, changed the data type and returns the long value. With this improvement it is guaranteed that client gets the UTC time of the app lifecycle's updated time.
tcdlpds added 1 commit 3 months ago
bc81c8923c
Change the return type of the app lifecycle's updated time
rajitha approved these changes 3 months ago
tcdlpds merged commit 19287b515f into apim420 3 months ago

Reviewers

rajitha approved these changes 3 months ago
The pull request has been merged as 19287b515f.
Sign in to join this conversation.
No reviewers
No Milestone
No project
No Assignees
2 Participants
Notifications
Due Date

No due date set.

Dependencies

No dependencies set.

Reference: community/device-mgt-core#491
Loading…
There is no content yet.