• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
1

date formatting

Community Beginner ,
Jul 12, 2021 Jul 12, 2021

Copy link to clipboard

Copied

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.

TOPICS
Document Generation API

Views

586

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Engaged ,
Jul 13, 2021 Jul 13, 2021

Copy link to clipboard

Copied

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 02, 2024 Feb 02, 2024

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Feb 02, 2024 Feb 02, 2024

Copy link to clipboard

Copied

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

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Feb 02, 2024 Feb 02, 2024

Copy link to clipboard

Copied

Yes, I just have add 5 more (duplicate) fields to my table...

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jul 31, 2024 Jul 31, 2024

Copy link to clipboard

Copied

LATEST

A little late, but to be clear, you don't have to add anything to your database. You would get your data, reformat the values in your code before sending it to the API.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources