cvt-oss / fb-invoice-pdf-analyzer

PDF Analyser of fb invoices
1 stars 2 forks source link

Parsing date/time values #5

Closed tkopecek closed 5 years ago

tkopecek commented 5 years ago

Similar to #4 - datetime values could be already in ISO format.

agiertli commented 5 years ago

Hi @tkopecek ,

see: https://github.com/cvt-oss/fb-invoice-pdf-analyzer/commit/c69f78114c387df8bcf330c27402f6f4a11ac242

Instead of String, I am now using LocalDateTime - which natively supports ISO format (without Timezone).

Date is now returned like this:

"paidOn": "2019-01-19T15:56:00"

Let me know if this can be closed or if you'd like any further improvements (like differently formatted response or including timezone..)

tkopecek commented 5 years ago

Works, thanks!