mirror of
https://github.com/taigrr/wtf
synced 2025-01-18 04:03:14 -08:00
Rudimentary modal showing up for Todo on 'e'
This commit is contained in:
@@ -2,6 +2,8 @@ package clocks
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
|
||||
"github.com/senorprogrammer/wtf/wtf"
|
||||
)
|
||||
|
||||
func (widget *Widget) display(clocks []Clock) {
|
||||
@@ -16,8 +18,8 @@ func (widget *Widget) display(clocks []Clock) {
|
||||
" [%s]%-12s %-10s %7s[white]\n",
|
||||
widget.rowColor(idx),
|
||||
clock.Label,
|
||||
clock.LocalTime.Format(TimeFormat),
|
||||
clock.LocalTime.Format(DateFormat),
|
||||
clock.LocalTime.Format(wtf.SimpleTimeFormat),
|
||||
clock.LocalTime.Format(wtf.SimpleDateFormat),
|
||||
)
|
||||
}
|
||||
|
||||
|
||||
@@ -7,9 +7,6 @@ import (
|
||||
"github.com/senorprogrammer/wtf/wtf"
|
||||
)
|
||||
|
||||
const TimeFormat = "15:04 MST"
|
||||
const DateFormat = "Jan 2"
|
||||
|
||||
// Config is a pointer to the global config object
|
||||
var Config *config.Config
|
||||
|
||||
|
||||
Reference in New Issue
Block a user