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
DateGen
Describe the bug
drill/exec/java-exec/src/main/java/org/apache/drill/exec/store/mock/DateGen.java
Line 47 in 138563a
m
M
D
d
To Reproduce
Date date = Date.from(Instant.parse("2024-10-26T22:00:00Z")); // Bug: Prints "2024-00-301" new SimpleDateFormat("yyyy-mm-DD").format(date);
Drill version master (138563a)
The text was updated successfully, but these errors were encountered:
yyyy-MM-dd seems more correct alright - do you want to do a PR?
yyyy-MM-dd
Sorry, something went wrong.
I am not sure if that could break something, in case parts of this project rely on this incorrect format. Or if DateGen is even used at all.
If possible, could you or some of the other maintainers please fix it instead?
(It is not urgent for me though; I am not using the DateGen class, but just stumbled upon this issue in its source code.)
No branches or pull requests
Describe the bug
drill/exec/java-exec/src/main/java/org/apache/drill/exec/store/mock/DateGen.java
Line 47 in 138563a
m
is 'minute in hour'; should probably beM
D
is 'day in year'; should probably bed
To Reproduce
Drill version
master (138563a)
The text was updated successfully, but these errors were encountered: