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

types: Fix potential timezone related bugs caused by gotime.Local #13752

Merged
merged 5 commits into from
Nov 28, 2019

Conversation

Rustin170506
Copy link
Member

@Rustin170506 Rustin170506 commented Nov 26, 2019

What problem does this PR solve?

#13626

What is changed and how it works?

Use sc.TimeZone to create time variable when we round time in RoundFrac.

Check List

Tests

None

Code changes

None

Side effects

None

Related changes

None

Release note

None

@sre-bot sre-bot added the contribution This PR is from a community contributor. label Nov 26, 2019
@CLAassistant
Copy link

CLAassistant commented Nov 26, 2019

CLA assistant check
All committers have signed the CLA.

@codecov
Copy link

codecov bot commented Nov 26, 2019

Codecov Report

Merging #13752 into master will not change coverage.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             master     #13752   +/-   ##
===========================================
  Coverage   80.2792%   80.2792%           
===========================================
  Files           474        474           
  Lines        117810     117810           
===========================================
  Hits          94577      94577           
  Misses        15799      15799           
  Partials       7434       7434

@Deardrops
Copy link
Contributor

Deardrops commented Nov 26, 2019

Thanks for your contribution, before your PR merge, please add some tests.

@Deardrops
Copy link
Contributor

LGTM, @bb7133 PTAL

@Deardrops Deardrops added the status/LGT1 Indicates that a PR has LGTM 1. label Nov 26, 2019
@bb7133 bb7133 added status/LGT2 Indicates that a PR has LGTM 2. and removed status/LGT1 Indicates that a PR has LGTM 1. labels Nov 28, 2019
Copy link
Member

@bb7133 bb7133 left a comment

Choose a reason for hiding this comment

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

LGTM

@bb7133 bb7133 added the status/can-merge Indicates a PR has been approved by a committer. label Nov 28, 2019
@sre-bot
Copy link
Contributor

sre-bot commented Nov 28, 2019

/run-all-tests

@sre-bot
Copy link
Contributor

sre-bot commented Nov 28, 2019

cherry pick to release-2.1 in PR #13792

@sre-bot
Copy link
Contributor

sre-bot commented Nov 28, 2019

cherry pick to release-3.0 in PR #13793

@bb7133
Copy link
Member

bb7133 commented Nov 28, 2019

Thanks for your help! @Rustin-Liu

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
contribution This PR is from a community contributor. status/can-merge Indicates a PR has been approved by a committer. status/LGT2 Indicates that a PR has LGTM 2.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants