Refine mouse interactions and info pane UX
This commit is contained in:
parent
3d26d835af
commit
ef63a2479b
4 changed files with 367 additions and 47 deletions
|
|
@ -227,6 +227,13 @@ func ShortTime(t time.Time) string {
|
|||
return t.Format("2006-01-02 15:04")
|
||||
}
|
||||
|
||||
func CompactTime(t time.Time) string {
|
||||
if t.IsZero() {
|
||||
return "n/a"
|
||||
}
|
||||
return t.Format("01-02 15:04")
|
||||
}
|
||||
|
||||
func Permissions(mode fs.FileMode) string {
|
||||
return mode.String()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue