spring-projects / spring-batch-extensions

Spring Batch Extensions
242 stars 258 forks source link

Improve IsoFormattingDateDataFormatter #140

Closed mdeinum closed 3 months ago

mdeinum commented 3 months ago

Prior to this commit all date related fields were formatted as an ISO_LOCAL_DATE_TIME.

With this commit we inspect the type it actually is date, time or datetime and use the proper ISO_LOCAL formatting for that.

Another improvement is to use the cached result for the formula instead of re-evaluating the formula and use that type.