Revision 3919
Added by Aaron Marcuse-Kubitza over 12 years ago
import.specimens.xml.ref | ||
---|---|---|
138 | 138 |
<locationevent> |
139 | 139 |
<taxonoccurrence> |
140 | 140 |
<aggregateoccurrence> |
141 |
<collectiondate><_date><date><_alt><2>$LatestDateCollected</2></_alt></date></_date></collectiondate>
|
|
141 |
<collectiondate><_date><date><_dateRangeStart><value><_alt><2>$LatestDateCollected</2></_alt></value></_dateRangeStart></date></_date></collectiondate>
|
|
142 | 142 |
<plantobservation> |
143 | 143 |
<specimenreplicate> |
144 | 144 |
<catalognumber_dwc>$CatalogNO</catalognumber_dwc> |
Also available in: Unified diff
VegBIEN mappings: Wrapped dates in _date() and _dateRangeStart()/_dateRangeEnd(), to assist in importing date and date range values that PostgreSQL cannot parse. This will increase the import time, but hopefully also decrease the # of invalid values in the errors tables. (These functions can later be optimized to reduce the impact on import time.)