calendar: cal_format typo corrected

This commit is contained in:
copycat-killer 2016-04-26 18:01:30 +02:00
parent a04895f5ee
commit 01bad23a2c
1 changed files with 1 additions and 1 deletions

View File

@ -100,7 +100,7 @@ function calendar:attach(widget, args)
local args = args or {}
calendar.cal = args.cal or "/usr/bin/cal"
calendar.cal_format = args.ca_format or function(today)
calendar.cal_format = args.cal_format or function(today)
return string.format("%s | sed -r -e 's/_\\x08//g' -e '0,/(^| )%d($| )/ s/(^| )%d($| )/\\1<b><span foreground=\"%s\" background=\"%s\">%d<\\/span><\\/b>\\2/'",
calendar.cal, today, today, calendar.bg, calendar.fg, today)
end