File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
lua/orgmode/files/elements Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -396,14 +396,14 @@ function PropertyMatch:parse(input)
396
396
--- @type string ?, OrgDate ?
397
397
local date_content , date_value
398
398
if date_str == ' <today>' then
399
- date_value = Date .today ()
399
+ date_value = Date .today (): start_of ( ' day ' )
400
400
elseif date_str == ' <tomorrow>' then
401
- date_value = Date .tomorrow ()
401
+ date_value = Date .tomorrow (): start_of ( ' day ' )
402
402
else
403
403
-- Parse relative formats (e.g. <+1d>) as well as absolute
404
404
date_content = date_str :match (' ^<([%+%-]%d+[dmyhwM])>$' )
405
405
if date_content then
406
- date_value = Date .today ()
406
+ date_value = Date .today (): start_of ( ' day ' )
407
407
date_value = date_value :adjust (date_content )
408
408
else
409
409
date_content = date_str :match (' ^<([^>]+)>$' )
You can’t perform that action at this time.
0 commit comments