|
|
@ -494,7 +494,7 @@ struct EventInfo { |
|
|
|
let timeIntervalSinceNowForMeeting = event.startDate.timeIntervalSinceNow |
|
|
|
let timeIntervalSinceNowForMeeting = event.startDate.timeIntervalSinceNow |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
if timeIntervalSinceNowForMeeting <= 0 || event.startDate.shortTimeAgoSinceNow == "0s" { |
|
|
|
if timeIntervalSinceNowForMeeting == 0 || event.startDate.shortTimeAgoSinceNow == "0s" { |
|
|
|
return "started." |
|
|
|
return "started." |
|
|
|
} else if timeIntervalSinceNowForMeeting < 0, timeIntervalSinceNowForMeeting > -300 { |
|
|
|
} else if timeIntervalSinceNowForMeeting < 0, timeIntervalSinceNowForMeeting > -300 { |
|
|
|
return "started +\(event.startDate.shortTimeAgoSinceNow)." |
|
|
|
return "started +\(event.startDate.shortTimeAgoSinceNow)." |
|
|
@ -520,6 +520,6 @@ struct EventInfo { |
|
|
|
return "in \(hoursUntil)h" |
|
|
|
return "in \(hoursUntil)h" |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
return "Error" |
|
|
|
return "started." |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|