-
Improvement
-
Resolution: Unresolved
-
Neutral
-
None
-
None
-
None
-
None
This is the follow up ticket for EXTDAM-283 to improve Bynder date time parser
Problem
In class BynderAsset the date is parsed with this format
inputFormatter = DateTimeFormatter.ofPattern("yyyy-MM-dd'T'HH:mm:ss'Z'", Locale.ENGLISH);
But it seems that we receive also the milliseconds '2021-07-27T15:04:04.707Z'
Solution
Make inputFormatter (yyyy-MM-dd'T'HH:mm:ss'Z') configurable
Propose second dateTime pattern in try catch in case the parse throw error (the problem may come from Bynder instance when user update multiple assets and the dateModified append milliseconds
Workaround
Development notes
Acceptance criteria
- relates to
-
EXTDAM-283 Bynder Asset Date parsing problem
- Closed