Browse code

Add small divider between different dates in 'upcoming'

Jaidyn Levesque authored on 2020-01-26 07:29:40
Showing 1 changed files
... ...
@@ -290,6 +290,7 @@ function upcoming_todo_lines {
290 290
 		cat "$todo_file" \
291 291
 		| preprocess_todo \
292 292
 		| date_todo_lines "$(add_days "$start_date" "$i")"
293
+		if test "$?" -eq 0 -a "$i" -ne "$(dec "$limit")"; then echo "---"; fi
293 294
 		i="$(inc "$i")"
294 295
 	done
295 296
 }