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

thirtyDayPeriodsSinceEpoch update #195

Closed
wants to merge 2 commits into from
Closed

Conversation

nplasterer
Copy link
Contributor

In JS they do this

const thirtyDayPeriodsSinceEpoch = Math.floor(
          Date.now() / 1000 / 60 / 60 / 24 / 30
        )

I think this brings the code closer inline with that.

@nplasterer nplasterer self-assigned this Mar 6, 2024
@nplasterer nplasterer requested a review from a team as a code owner March 6, 2024 13:46
@nplasterer
Copy link
Contributor Author

We validated that this already works so going to close this.

@nplasterer nplasterer closed this Mar 6, 2024
@nplasterer nplasterer deleted the np/fix-date-time branch March 6, 2024 17:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants