Skip to main content
Participant
July 13, 2021
質問

date formatting

  • July 13, 2021
  • 返信数 1.
  • 1010 ビュー

Document Generation API: How to format merged data date values? There are very basic maths function but no function for (re)formatting a date that has been supplied in http://en.wikipedia.org/wiki/ISO_8601 format.

このトピックへの返信は締め切られました。

返信数 1

cfjedimaster
Inspiring
July 13, 2021

Hi, Document Generation uses JSONata behind the scenes, but currently, date formatting (https://docs.jsonata.org/date-time-functions) is broken. I've reported it. You can, however, format your dates in your data *before* you send it to our API. Make sense?

Participant
February 2, 2024

Looks to still be broken almost 3 years later???

Raymond Camden
Community Manager
Community Manager
February 2, 2024

Yep, but to be clear, you can still just format it yourself.