openbmc / bmcweb

A do everything Redfish, KVM, GUI, and DBus webserver for OpenBMC
Apache License 2.0
156 stars 131 forks source link

“/redfish/v1/Managers/bmc” interface has no “DateTimeLocalOffset” property #152

Closed renweihang closed 3 years ago

renweihang commented 3 years ago

Hi All, As you can see below that strings DateTimeand DateTimeLocalOffsetare defined in Redfish spec(DSP2046), but DateTimeis the only result developed in bmcweb/redfish-core/lib/managers.hpp, is it because the Time Management based on system doesn’t support DateTimeLocalOffset? or it is not developed at all?

DateTime string(datetime) read-write(null) The current date and time, with UTC offset, that the Log Service usesto set or read time.
DateTimeLocalOffset string read-write(null) The UTC offset that the current DateTime property value contains inthe +HH:MM format.

thanks~~