date()
can't return the correct result, when the time zone is set to UTC+12
#5894
Labels
affects/none
PR/issue: this bug affects none version.
severity/none
Severity of bug
type/bug
Type: something is unexpected
Describe the bug (required)
After setting the time zone of the database,
RETURN date()
cannot return the correct result.Your Environments (required)
uname -a
g++ --version
orclang++ --version
lscpu
How To Reproduce(required)
Steps to reproduce the behavior:
nebula-graphd.conf
Nebula Studio:
Nebula Studio:
Expected behavior
We expect
date()
to be the same asdatetime()
and return2024-06-06
,Because the local time in time zone (UTC+12) is
2024-06-06
.Additional context
My system time:
root> date
The text was updated successfully, but these errors were encountered: