We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When trying to parse a week interval an empty (all values 0) Interval is returned.
Interval.parse("1 week").toString() == Interval.ZERO.toString()
That weeks are parsed as 7 days per week
The text was updated successfully, but these errors were encountered:
I have a local version supporting all additional postgresql interval units: millennium, century, decade, week. I will create a PR soon
Sorry, something went wrong.
Thanks a lot, happy to review your changes.
Implement support for interval units.
3b4639e
[pgjdbc#565]
c889796
96c9d3d
[#566][resolves #565] Co-authored-by: Emil Wihlander <[email protected]>
Successfully merging a pull request may close this issue.
Bug Report
Versions
Current Behavior
When trying to parse a week interval an empty (all values 0) Interval is returned.
Steps to reproduce
Interval.parse("1 week").toString() == Interval.ZERO.toString()
Expected behavior/code
That weeks are parsed as 7 days per week
Possible Solution
Additional context
The text was updated successfully, but these errors were encountered: