Skip to content
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

Add timezone conversion. #37

Merged

Conversation

Shylock-Hg
Copy link
Contributor

@Shylock-Hg Shylock-Hg requested a review from a team June 25, 2021 11:39
@@ -48,4 +50,17 @@ void Session::release() {
}
}

void Session::toLocal(DataSet &data, int32_t offsetSecs) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't have to provide a method like that, but you can tell user how to get localTime and get localDateTime in example code

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I will add example.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The interface better move to test code, no need to provide it to the user

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

User could use or not.

@Shylock-Hg Shylock-Hg requested review from a team and laura-ding June 30, 2021 09:26
laura-ding
laura-ding previously approved these changes Jun 30, 2021
@laura-ding
Copy link
Contributor

Please fix the ci test

@laura-ding laura-ding merged commit abbbfb7 into vesoft-inc:master Jul 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants