Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit f25f96d

Browse files
fix(filter): Use start of day for relative date matching
1 parent 122c534 commit f25f96d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lua/orgmode/files/elements/search.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -403,7 +403,7 @@ function PropertyMatch:parse(input)
403403
-- Parse relative formats (e.g. <+1d>) as well as absolute
404404
date_content = date_str:match('^<([%+%-]%d+[dmyhwM])>$')
405405
if date_content then
406-
date_value = Date.now()
406+
date_value = Date.today()
407407
date_value = date_value:adjust(date_content)
408408
else
409409
date_content = date_str:match('^<([^>]+)>$')

0 commit comments

Comments
 (0)