Skip to content
This repository was archived by the owner on Jul 12, 2023. It is now read-only.

Conversation

jeremyfaller
Copy link
Contributor

**** NB *****
This PR will be marked HOLD until all reviews requested on this PR give
it an LGTM. If you want to HOLD this CL, please add yourself as
reviewer, and mark yourself as NON-LGTM.
**** /NB *****

PTAL. These are all references to Truncate that:

grep -R Truncate * | grep 24

returned, and I think all changes are correct. Please verify.

Fixes #848

Fixed statistics reporting dates.
Previously, it was possible for many statistics to report themselves on the wrong day. This has been fixed.

@googlebot googlebot added the cla: yes Auto: added by CLA bot when all committers have signed a CLA. label Oct 16, 2020
@jeremyfaller
Copy link
Contributor Author

/hold

PTAL despite the hold.

Copy link
Contributor

@sethvargo sethvargo left a comment

Choose a reason for hiding this comment

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

/lgtm

var stats []*AuthorizedAppStats
if err := db.db.
Model(&UserStats{}).
Model(&AuthorizedAppStats{}).
Copy link
Contributor

Choose a reason for hiding this comment

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

This feels like it was a different bug?

@google-oss-robot
Copy link

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: jeremyfaller, sethvargo

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [jeremyfaller,sethvargo]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

Copy link
Contributor

@mikehelmick mikehelmick left a comment

Choose a reason for hiding this comment

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

added comments where the omissions of UTC is non-obvious to me

**** NB *****
This PR will be marked HOLD until all reviews requested on this PR give
it an LGTM. If you want to HOLD this CL, please add yourself as
reviewer, and mark yourself as NON-LGTM.
**** /NB *****

PTAL. These are all references to Truncate that:

`grep -R Truncate * | grep 24`

returned, and I think all changes are correct. Please verify.

Fixes google#848
@jeremyfaller
Copy link
Contributor Author

/retest

Copy link
Contributor

@mikehelmick mikehelmick left a comment

Choose a reason for hiding this comment

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

/lgtm

@google-oss-robot google-oss-robot merged commit b2ef3b3 into google:main Oct 19, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 20, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes Auto: added by CLA bot when all committers have signed a CLA.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Audit all uses of time.Truncate in this codebase
5 participants