diff options
author | Lzzzzzt <101313294+Lzzzzzt@users.noreply.github.com> | 2023-07-31 00:58:07 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-07-30 12:58:07 -0400 |
commit | 713bd70d88eff0cb5130c2661fdf84fb2d09ab2a (patch) | |
tree | 66b9b971b5941f88127eef80911f1bec25173658 /src/ui/widgets/tui_footer.rs | |
parent | 9d1a0b2ca8616af3eefb2a26b6f77a62420ecc8a (diff) |
mtime will display with local timezone (#384)
Diffstat (limited to 'src/ui/widgets/tui_footer.rs')
-rw-r--r-- | src/ui/widgets/tui_footer.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ui/widgets/tui_footer.rs b/src/ui/widgets/tui_footer.rs index adfe90d..dc42ee6 100644 --- a/src/ui/widgets/tui_footer.rs +++ b/src/ui/widgets/tui_footer.rs @@ -8,7 +8,7 @@ use crate::config::option::TabDisplayOption; use crate::fs::{JoshutoDirList, LinkType}; use crate::util::format; use crate::util::unix; -use crate::THEME_T; +use crate::{THEME_T, TIMEZONE_STR}; pub struct TuiFooter<'a> { dirlist: &'a JoshutoDirList, @@ -73,7 +73,7 @@ impl<'a> Widget for TuiFooter<'a> { Span::raw(format!("{}/{}", i + 1, self.dirlist.len())), Span::raw(" "), Span::raw(mtime_str), - Span::raw(" UTC "), + Span::raw(TIMEZONE_STR.as_str()), Span::raw(size_str), Span::raw(" "), Span::styled( |