Draft submissions have no completed date, but when you export these submissions, an incorrect value is shown.
It should show an empty cell in the data dump (using excel) but currently it's being evaluated by the date function, which fails, an returns Dec 31, 1969 date.
Previous issue, which I added as a parent, resolved evaluating the completed date to an actual date format.
My end users downloads draft submissions as well and error was found.
I attached a snapshot as an example.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3007499-2.patch | 814 bytes | asierrajr |
| incorrect_date_draft.png | 122.63 KB | asierrajr |
Comments
Comment #2
asierrajr commentedI added a patch to resolve this issue.
Please review
Comment #4
jrockowitz commented@asierrajr Thanks for the patch.