在 Dataweave 2.0 中使用此命令:
"08:05:30" as DateTime{format: "hh:mm:ss"} as String {format: "hh:mm:ss"}
我有这个错误:
Unable to obtain ZonedDateTime from TemporalAccessor
怎么解决呢?我的整个问题是转变:
"Wed Oct 18 2023 08:05:30 GMT-0000 (GMT)"
到
"2012-10-11T12:30:40-03:00"
我试过 :
"Wed Oct 18 2023 08:05:30 GMT-0000 (GMT)" as DateTime{format: 'E MMM dd yyyy hh:mm:ss zXX O'} as String {format: "yyyy-MM-dd'T'hh:mm:ssO"}
太感谢了 !