You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
let allowed_hours = self.allowed_num_hours_without_log?;
115
+
let num_hours_since_log = Local::now()
116
+
.naive_local()
117
+
.signed_duration_since(self.latest_log_datetime)
118
+
.num_hours();
119
+
if num_hours_since_log > allowed_hours {
120
+
Some(format!("Most recent log found ({}) exceeds the allowed number of hours ({allowed_hours}) without a log. Currently {num_hours_since_log} hours without a log.",self.latest_log_datetime.format("%F %T")))
0 commit comments