Input String: 201801
Output String format: 01.2018
我尝试使用以下但它不起作用,我还在“类型强制表” https://docs.mulesoft.com/mule-user-guide/v/3.8/dataweave-types中查找了字符串到日期转换/强制表#type-coercion-table。我没有找到可以帮助我解决这个问题的东西。
as :date {format: "yyyyww"} as :string {format: "ww.yyyy"}
欣赏是否有人有任何想法要分享。