(value: &'a str, fallback: &'a str)
| 679 | } |
| 680 | |
| 681 | fn non_empty_or<'a>(value: &'a str, fallback: &'a str) -> &'a str { |
| 682 | if value.is_empty() { fallback } else { value } |
| 683 | } |
| 684 | |
| 685 | fn format_short_time(epoch_ms: i64) -> String { |
| 686 | if epoch_ms <= 0 { |