IQSS / dataverse-client-javascript

A Dataverse client for JavaScript and TypeScript
MIT License
15 stars 8 forks source link

Fix date format validation on create & update dataset #161

Closed g-saracca closed 2 months ago

g-saracca commented 3 months ago

What this PR does / why we need it:

Fixes date format validation.

Not all metadata fields of all metadata blocks expect a date in the YYYY-MM-DD format. There are metadata fields that expect other date formats, defined by the watermark.

Which issue(s) this PR closes:

Related Dataverse PRs:

N/A

Special notes for your reviewer:

The .gitignore modification is to ignore my vscode folder on my end where I'm using settings to auto format on save with prettier.

Suggestions on how to test this:

Visual inspection and run tests.

Is there a release notes update needed for this change?:

N/A

Additional documentation:

N/A