mirror of
https://github.com/Threnklyn/zeit.git
synced 2026-05-30 02:28:27 +02:00
use HH:MM format by default everywhere
add --decimal option to toggle HH.ZZ format; ref #13
This commit is contained in:
@@ -71,6 +71,7 @@ func init() {
|
||||
entryCmd.Flags().StringVarP(&project, "project", "p", "", "Update activity project")
|
||||
entryCmd.Flags().StringVarP(¬es, "notes", "n", "", "Update activity notes")
|
||||
entryCmd.Flags().StringVarP(&task, "task", "t", "", "Update activity task")
|
||||
entryCmd.Flags().BoolVar(&fractional, "decimal", false, "Show fractional hours in decimal format instead of minutes")
|
||||
|
||||
var err error
|
||||
database, err = InitDatabase()
|
||||
|
||||
Reference in New Issue
Block a user