aboutsummaryrefslogtreecommitdiff
path: root/mark.fish
diff options
context:
space:
mode:
Diffstat (limited to 'mark.fish')
-rw-r--r--mark.fish2
1 files changed, 1 insertions, 1 deletions
diff --git a/mark.fish b/mark.fish
index 086dc58..8c06509 100644
--- a/mark.fish
+++ b/mark.fish
@@ -189,7 +189,7 @@ function __mark_set --description 'mark a day in a store' \
-a store year month day sign force
# calculate offset: $day+1 (+1 if m > 9) because of "<month>:"
- set offset (math "($day + 1 + $month/10)")
+ set offset (math "floor($day + 1 + $month/10)")
set marks (__mark_print_block store $store)
set marks (string split " " $marks)