Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improvement on dateformat #35

Closed
larskristianhaga opened this issue Mar 20, 2024 · 1 comment
Closed

Improvement on dateformat #35

larskristianhaga opened this issue Mar 20, 2024 · 1 comment

Comments

@larskristianhaga
Copy link

larskristianhaga commented Mar 20, 2024

We just stumbled upon an issue with the dateformat when trying to parse the date value with the dateformat result.

Here is an complete example:
image

Instead of the parser giving out YYYYMMDD, that is not usable directly should it not give out yyyyMMdd instead? The latter is parseable with eg DateTimeFormatter

@zach-m
Copy link
Owner

zach-m commented Apr 5, 2024

well, I guess the people at EDItEUR that maintain the Onix standard do not concern themselves with how DateTimeFormatter expects to find the format.. they use their own interpretation of data-time format.
Your code needs to transform their format into Java's. If you do that, that could be a nice contribution to Jonix as a utility function.

@zach-m zach-m closed this as completed Oct 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants