Site timezone and MCPD acquisitionDate
@achan noticed that MCPD acqDate
is not presented correctly (see support#127 (closed)). The problem is mostly with MM/DD/yyyy
formatted dates, not when also displaying time.
The database and API server use UTC as the timezone and it appears that SimpleDateFormatter
we use to render dates in MCPD format needs to be set to a corresponding time zone.
For MCPD acqDate
the generated date must use the timezone of the Site
of the accession.
Please a new property timezone
to Site
and use it for "printing" the MCPD acqDate
.