Skip to content
This repository has been archived by the owner on May 9, 2024. It is now read-only.

Date values are incorrectly casted to int #317

Open
ienkovich opened this issue Mar 23, 2023 · 0 comments · May be fixed by #472
Open

Date values are incorrectly casted to int #317

ienkovich opened this issue Mar 23, 2023 · 0 comments · May be fixed by #472
Assignees

Comments

@ienkovich
Copy link
Contributor

Right now, we don't allow date values to be cast to integers in the QueryBuilder. It looks like this cast ignores the actual time unit used for the date, but we expect it to produce an integer value according to its time unit (BTW timestamp behavior is different and matches expectations).

Devjiu added a commit that referenced this issue Apr 24, 2023
This commit enables conversion from date to int.

Resolves: #317

Signed-off-by: Dmitrii Makarenko <[email protected]>
@Devjiu Devjiu linked a pull request May 10, 2023 that will close this issue
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
2 participants