cal_list() {
# Print list view for upcoming events
- local lday='' events sdate=$(date -ud "${DY}-${DM}-${DD}" +%s)
+ local lday='' events="$events" sdate=$(date -ud "${DY}-${DM}-${DD}" +%s)
events="$(
printf %s\\n "$events" \
}
cal_month() {
- local ws="$ws" events calmonth
+ local ws="$ws" events="$events" calmonth
local iday idow mname dcnt dow dcal start end title link n
calmonth="$(GET calmonth || printf %i "$((DY * 12 + DM))")"