Closed brunopacheco1 closed 1 month ago
This pull request reverts the OffsetDateTime parsing to LocalDateTime parsing for date-time fields in the package show mapper and related classes. It also updates the date format pattern and modifies test data to match the new format.
Change | Details | Files |
---|---|---|
Reverted OffsetDateTime parsing to LocalDateTime parsing |
|
src/main/java/io/github/genomicdatainfrastructure/discovery/utils/PackageShowMapper.java src/main/java/io/github/genomicdatainfrastructure/discovery/datasets/infrastructure/ckan/persistence/CkanDatasetsRepository.java |
Updated test data to match new date-time format |
|
src/test/java/io/github/genomicdatainfrastructure/discovery/services/PackageShowMapperTest.java |
Modified date-time field mappings in PackageShowMapper |
|
src/main/java/io/github/genomicdatainfrastructure/discovery/utils/PackageShowMapper.java |
@Markus92 I will revert these changes to temporarily fix the portal, as we have a demo to do.
@hcvdwerf we need to understand what needs to be done in CKAN to ensure we are getting the datetime correctly.
Summary by Sourcery
Revert the parsing of date strings from OffsetDateTime to LocalDateTime across the codebase to fix issues with date handling, ensuring consistency with the expected date format.
Bug Fixes: