aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-03-27 00:43:38 +0900
committernsfisis <nsfisis@gmail.com>2025-03-27 00:43:38 +0900
commit9d4885e464089aecd9fab2029ec4e0968baec57d (patch)
treeedd0cf006acba6a2386c4052042e0fac8eec8151
parentd3aedd8d09c6513604d455ab0172aac857564d12 (diff)
downloadterm-clock-9d4885e464089aecd9fab2029ec4e0968baec57d.tar.gz
term-clock-9d4885e464089aecd9fab2029ec4e0968baec57d.tar.zst
term-clock-9d4885e464089aecd9fab2029ec4e0968baec57d.zip
feat(timer): increase upper limit of timer
-rw-r--r--cmd/timer.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/timer.go b/cmd/timer.go
index 693d946..6058839 100644
--- a/cmd/timer.go
+++ b/cmd/timer.go
@@ -45,8 +45,8 @@ func cmdTimer(cmd *cobra.Command, args []string) {
log.Fatalf("%+v", err)
}
- if timerTime.Minutes() > 60 {
- fmt.Println("Duration over 1 hour is not supported.")
+ if timerTime.Minutes() > 99 {
+ fmt.Println("Duration over 99 minutes is not supported.")
return
}