microbiomedata / nmdc-server

Data portal client and server for NMDC.
https://data.microbiomedata.org
Other
9 stars 0 forks source link

Date is not consistent between EMSL shipping form and shipping info summary #1237

Open naglepuff opened 2 months ago

naglepuff commented 2 months ago

To reproduce, create a new submission.

On the context form select "No", then "EMSL"

On the shipping form, pick a date. Close the menu by clicking "save"

Expand the "Shipper info" section of the summary

The date will not match the one you selected for the form (it will be off by one day).

naglepuff commented 2 months ago

It should be noted that date handling in this context is not using the moment library, while date handling elsewhere in the application is.