-
Notifications
You must be signed in to change notification settings - Fork 60
datetime: add TZ support #200
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
Conversation
dde0ab8
to
eda01e1
Compare
eda01e1
to
eabefed
Compare
2fbb50b
to
e51a5b3
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems awesome.
I have left a couple of questions
54d5676
to
938d44b
Compare
I've made a separate pull request to fix golangci-lint errors: We can ignore it here. |
6082fb5
to
f317da8
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. Please, check my comments.
After the patch all messages in datetime tests start with a capital letter. All errors start with a lowecase letter [1]. 1. https://github.com/golang/go/wiki/CodeReviewComments#error-strings
The patch adds timezone support [1] for datetime. For the purpose of compatibility we got constants for timezones from Tarantool [2]. The patch adds a script to generate the data according to the instructions [3]. 1. https://github.com/tarantool/tarantool/wiki/Datetime-Internals#timezone-support 2. https://github.com/tarantool/tarantool/blob/9ee45289e01232b8df1413efea11db170ae3b3b4/src/lib/tzcode/timezones.h 3. https://github.com/tarantool/tarantool/blob/9ee45289e01232b8df1413efea11db170ae3b3b4/src/lib/tzcode/gen-zone-abbrevs.pl#L35-L39 Closes #163
f317da8
to
f100dc2
Compare
The patch adds timezone support [1] for datetime. For the purpose of compatibility we got constants for timezones from Tarantool [2]. The patch adds a script to generate the data according to the instructions [3].
I didn't forget about (remove if it is not applicable):
Related issues:
Closes #163