Skip to main content
Participant
July 13, 2021
Question

date formatting

  • July 13, 2021
  • 1 reply
  • 993 views

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.

This topic has been closed for replies.

1 reply

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.