biocodellc / biocode-fims-commons

Biocode Field Information Management System
3 stars 0 forks source link

CSPACE identgroup date passed wrong date? #37

Open jdeck88 opened 6 years ago

jdeck88 commented 6 years ago

In line 170 at https://github.com/biocodellc/biocode-fims-commons/blob/master/src/main/java/biocode/fims/query/writers/CspaceJsonWriter.java t looks like we're creating an "identDateGroup" and passing in date,year,month,day as values but i think it should be identdate,identyear,identmonth,identday. This, however, should be happening in ALL cases, not just when det_date_display is blank or a non-parseable value. To: John Lowe: Can you verify this is true? I

jblowe commented 6 years ago

John,

I've looked at the code you suggest, and I concur that changing line 170 ought to do the trick!