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

fix(timezone): remove stray UTC() call #309

Merged
merged 1 commit into from
Dec 11, 2022

Conversation

UndeadBaneGitHub
Copy link
Contributor

Only in TokenGenerator mw.TimeFunc().UTC() is called (all other places do not call UTC), making the result inconsistent with the result of other functions.

Only in `TokenGenerator` `mw.TimeFunc().UTC()` is called (all other places do not call `UTC`), making the result inconsistent with the result of other functions.
@UndeadBaneGitHub UndeadBaneGitHub changed the title Remove stray UTC() call bug: remove stray UTC() call Dec 10, 2022
@UndeadBaneGitHub
Copy link
Contributor Author

This should be fixing a related issue: #296
(opened the PR before skimming through them)

@appleboy appleboy added the bug label Dec 11, 2022
@appleboy appleboy changed the title bug: remove stray UTC() call fix(timezone): remove stray UTC() call Dec 11, 2022
@codecov-commenter
Copy link

Codecov Report

Merging #309 (63974a5) into master (d213dd0) will not change coverage.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master     #309   +/-   ##
=======================================
  Coverage   87.36%   87.36%           
=======================================
  Files           1        1           
  Lines         459      459           
=======================================
  Hits          401      401           
  Misses         45       45           
  Partials       13       13           
Flag Coverage Δ
go-1.17 ?
go-1.18 87.36% <100.00%> (ø)
go-1.19 87.36% <100.00%> (ø)
ubuntu-latest 87.36% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
auth_jwt.go 87.36% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants