inventory.asset: expand date code to full ISO8601
Inventory.Asset objects have a BuildDate in ISO8601 date format.
Extend this to optionally allow time stamps, also in ISO8601
format.
Signed-off-by: Patrick Williams <patrick@stwcx.xyz>
Change-Id: Ia6745b11a854ae49a26a839146fc5277de1db5f4
diff --git a/xyz/openbmc_project/Inventory/Decorator/Asset.interface.yaml b/xyz/openbmc_project/Inventory/Decorator/Asset.interface.yaml
index d71881e..173e770 100644
--- a/xyz/openbmc_project/Inventory/Decorator/Asset.interface.yaml
+++ b/xyz/openbmc_project/Inventory/Decorator/Asset.interface.yaml
@@ -16,8 +16,10 @@
- name: BuildDate
type: string
description: >
- The date of item manufacture in
- YYYYMMDD format.
+ The date of item manufacture in ISO 8601 format, either as
+ YYYYMMDD or YYYYMMDDThhmmssZ. Where 'T' is a literal character
+ to separate date fields from time and 'Z' is a literal character
+ to indicate UTC.
- name: Model
type: string
description: >