|
Post by selvir on Feb 2, 2024 13:22:48 GMT
Hi,
As per DSP 0266 redfish described, DatetimeLocalOffset property will update only offset value or Datetime also
Assume the following case,
1. PATCH https://{redfish}/redfish/v1/Managers/Self
request-body,
{ DateTime, DateTimeLocalOffset
}
|
|
|
Post by mraineri on Feb 2, 2024 15:11:12 GMT
We have that scenario called out in the long description of the DateTimeLocalOffset property:
> If both DateTime and DateTimeLocalOffset are provided in modification requests, services shall apply DateTimeLocalOffset after DateTime is applied.
So, there's a bit of special handling required if the client provides both in a single PATCH request.
|
|
|
Post by selvir on Feb 5, 2024 11:11:52 GMT
Thanks for the details.
Above scenario is for both property from user request.
If user patch DateTimeLocaloffset alone whether datetime also will get update.
Please confirm.
|
|
|
Post by mraineri on Feb 5, 2024 13:47:30 GMT
Yes, it will update DateTime too; DateTimeLocalOffset is just the offset portion of DateTime, so modifying DateTimeLocalOffset indirectly modified DateTime.
|
|