Skip to content

Commit

Permalink
add weeks
Browse files Browse the repository at this point in the history
  • Loading branch information
sigmonsays committed Jan 18, 2016
1 parent 09ac646 commit c854193
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/runitcmd/list.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@ func initList(app *Application) cli.Command {
return cmd
}

var timeLegend = []string{"d", "h", "m", "s"}
var timeUnits = []int64{86400, 3600, 60, 1}
var timeLegend = []string{"w", "d", "h", "m", "s"}
var timeUnits = []int64{86400 * 7, 86400, 3600, 60, 1}

func formatTime(seconds int64) string {
r := seconds
Expand Down

0 comments on commit c854193

Please sign in to comment.