更改了 REST API 响应中的年份格式 在 WFA 5.1 中
适用场景
OnCommand 工作流自动化( WFA ) 5.1
问题描述
在 WFA 5.1 中, REST API 响应的年份格式已从 YYYY 更改为 YY 。
WFA 5.0 中的示例:
"jobStatus": {
"jobStatus": "COMPLETED",
"jobType": "Workflow Execution - Create a Clustered Data ONTAP Volume",
"scheduleType": "Immediate",
"startTime": "Apr 6, 2021 7:28:28 PM",
"endTime": "Apr 6, 2021 7:28:39 PM",
"plannedExecutionTime": "Apr 6, 2021 7:28:23 PM",
"phase": "EXECUTION",
"submittedBy": "admin",
WFA 5.1 中的示例:
"jobStatus": {
"jobStatus": "COMPLETED",
"jobType": "Workflow Execution - Create a Clustered Data ONTAP Volume",
"scheduleType": "Immediate",
"startTime": "Apr 6, 21, 7:28:28 PM",
"endTime": "Apr 6, 21, 7:28:39 PM",
"plannedExecutionTime": "Apr 6, 21, 7:28:23 PM",
"phase": "EXECUTION",
"submittedBy": "admin",
注意: WFA 5.1 将年份显示为 "21
(YY) " ,而不是 "2021
(YYYY) " 。