Closed nickdos closed 9 years ago
Possible fix in AVH code:
if (occurrence.eventDate) {
outputResultsTd("Date: ", g.formatDate(date: new Date(occurrence.eventDate), format:"dd-MM-yyyy"), true)
} else if (occurrence.occurrenceYear || occurrence.year) {
outputResultsTd("Year: ", g.formatDate(number:new Date(occurrence.occurrenceYear?:occurrence.year), format:"yyyy"), true)
}
May or may not be same bug...
Resolved by adding a custom OccurrenceTagLib.groovy file in the appd-hub repository which only displays the occurrence.year if the occurrence.eventdate is not available.
Where record date only contains a year or month + year. Shows wrong year (alway 2015).