aboutsummaryrefslogtreecommitdiff
path: root/lua/denote/internal.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/denote/internal.lua')
-rw-r--r--lua/denote/internal.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/lua/denote/internal.lua b/lua/denote/internal.lua
index 9db0596..a559cd1 100644
--- a/lua/denote/internal.lua
+++ b/lua/denote/internal.lua
@@ -61,12 +61,12 @@ function M.search(date, name, func)
if date.month then
matcher = matcher .. date.month
else
- matcher = "%d%d"
+ matcher = matcher .. "%d%d"
end
if date.day then
matcher = matcher .. date.day
else
- matcher = "%d%d"
+ matcher = matcher .. "%d%d"
end
matcher = matcher .. config.filename.date_sep .. config.filename.date_sep