-
-
Notifications
You must be signed in to change notification settings - Fork 222
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
Fix time "shift" with time zone by converting it to UTC in CAST FORMAT #2388 #7835
Fix time "shift" with time zone by converting it to UTC in CAST FORMAT #2388 #7835
Conversation
Also return an exception that was "lost" in previous commits
There seems to still have incorrect cases:
|
I did it on purpose. I thought if we specify time without time zone, time zone will be ignored. If this is wrong behavior, I'll fix it. A little off topic, I guess default conversion have some issues too with time zones:
|
Looks correct for me. My time zone is -03:00:
What's your time zone? |
Looks like you are on +03:00? Then I'd say it's correct. Then I'd say the script I send is not consistent with this behavior. |
Correct. |
@TreeHunter9 are you going to fix the cases I mentioned in this PR? |
Yes, I am on a little vacation right now and away from my work PC. |
Also change behavior of "YY" and "YYY" the way it is done in the standard conversion.
It seems that 'RM' (abbreviation for Roman numbers) can not be used for cast from string to date in '<cast template>':
Output:
|
No description provided.