Use longer time format
This commit is contained in:
parent
4712798bf5
commit
9b3ea00d1b
1 changed files with 3 additions and 3 deletions
|
|
@ -3,9 +3,9 @@
|
||||||
use crossterm::style::{ContentStyle, Stylize};
|
use crossterm::style::{ContentStyle, Stylize};
|
||||||
use toss::frame::Frame;
|
use toss::frame::Frame;
|
||||||
|
|
||||||
pub const TIME_FORMAT: &str = "%H:%M ";
|
pub const TIME_FORMAT: &str = "%F %R ";
|
||||||
pub const TIME_EMPTY: &str = " ";
|
pub const TIME_EMPTY: &str = " ";
|
||||||
pub const TIME_WIDTH: usize = 6;
|
pub const TIME_WIDTH: usize = TIME_EMPTY.len();
|
||||||
|
|
||||||
pub fn style_time() -> ContentStyle {
|
pub fn style_time() -> ContentStyle {
|
||||||
ContentStyle::default().grey()
|
ContentStyle::default().grey()
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue