Skip to content

Conversation

cakebaker
Copy link
Contributor

This PR fixes the same issue as #6413 but in a different place. It should fix the remaining pinky tests in the failing Build (macos-latest, x86_64-apple-darwin, feat_os_macos) job in the CI.

@@ -115,7 +115,7 @@ struct Pinky {

fn idle_string(when: i64) -> String {
thread_local! {
static NOW: time::OffsetDateTime = time::OffsetDateTime::now_local().unwrap();
static NOW: time::OffsetDateTime = time::OffsetDateTime::now_local().unwrap_or_else(|_| time::OffsetDateTime::now_utc());
Copy link
Contributor

Choose a reason for hiding this comment

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

the coverage isn't happy, i guess there is nothing we can do

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