diff options
Diffstat (limited to 'widgets')
-rw-r--r-- | widgets/date.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/widgets/date.lua b/widgets/date.lua index 68a803d..b20e43f 100644 --- a/widgets/date.lua +++ b/widgets/date.lua @@ -10,13 +10,13 @@ local setmetatable = setmetatable -- }}} --- Date: provides access to os.date with optional custom formatting +-- Date: provides access to os.date with optional time formatting module("vicious.widgets.date") -- {{{ Date widget type -local function worker(format) - return os.date(format or nil) +local function worker(format, warg) + return os.date(format or nil, warg or nil) end -- }}} |