Add day of week
This commit is contained in:
parent
d0d79694ea
commit
a4a91801ee
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ func (g *DateTime) Block(*i3bar.ColorSet) (*i3bar.Block, error) {
|
|||
|
||||
return &i3bar.Block{
|
||||
Name: g.name,
|
||||
FullText: cTime.Format("2006-01-02 15:04:05"),
|
||||
FullText: cTime.Weekday().String()[:2] + cTime.Format(" 2006-01-02 15:04:05"),
|
||||
ShortText: cTime.Format("15:04:05"),
|
||||
}, nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue