Skip to content

Use correct calculation for Date's current time #734

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

Merged
merged 2 commits into from
Jul 15, 2024

Conversation

parkera
Copy link
Contributor

@parkera parkera commented Jul 15, 2024

Correct the constant value used for Date's current time calculation, and put in a smoke test for the result. Also, use Double here so we get sub-1s precision.

@parkera parkera requested review from compnerd and jmschonfeld July 15, 2024 16:44
@parkera
Copy link
Contributor Author

parkera commented Jul 15, 2024

@swift-ci test

@jmschonfeld
Copy link
Contributor

@swift-ci please test

@parkera parkera merged commit df93071 into swiftlang:main Jul 15, 2024
3 checks passed
@parkera parkera deleted the parkera/windows_date_fix branch July 15, 2024 20:15
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.

3 participants