From 8383d6e4dee56e69569f930e9e5d374ae0bdedcc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Paul=20H=C3=A4nsch?= Date: Mon, 28 Mar 2022 12:45:33 +0200 Subject: [PATCH] allow quarter hours input --- invoices.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/invoices.sh b/invoices.sh index a1ec233..b99d8f2 100755 --- a/invoices.sh +++ b/invoices.sh @@ -174,7 +174,7 @@ $({ sed 1d "invoices/$id"; printf 'time= work= hours=\n'; } \ %s] ] [td [textarea name=work %s] ] - [td [input type=number name=hours value="%.2g" step=any] ] + [td [input type=number name=hours value="%g" step=any] ] [td %s] ]' "$(UNSTRING "${time#time=}" |HTML)" \ "$(UNSTRING "${work#work=}" |HTML)" \ -- 2.39.2