Altinn / app-frontend-react

Altinn application React frontend
BSD 3-Clause "New" or "Revised" License
18 stars 31 forks source link

Incorrect Time Format on PDF (Random) #2476

Open tonygrimstad opened 2 months ago

tonygrimstad commented 2 months ago

Description of the bug

In some cases, the time shown for "Dato sendt:" on the PDF is incorrect.

Example: Date sent: 04.09.2024 08:46:82

The error occurs randomly in both the local test environment and TT02.

image

Steps To Reproduce

  1. Submit form
  2. Verify PDF

Additional Information

The PDF should display the same format as the confirmation page (i.e., using / between date and time, and : between hours and minutes). If changes are made to the confirmation page, such as including seconds, the dateSent element in the InstanceInformation component (used in the custom PDF) should be updated accordingly to ensure consistency.

nkylstad commented 2 months ago

Transferred this issue from altinn-studio repo.