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)
396396 --- @type string ?, OrgDate ?
397397 local date_content , date_value
398398 if date_str == ' <today>' then
399- date_value = Date .today ()
399+ date_value = Date .today (): start_of ( ' day ' )
400400 elseif date_str == ' <tomorrow>' then
401- date_value = Date .tomorrow ()
401+ date_value = Date .tomorrow (): start_of ( ' day ' )
402402 else
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 .today ()
406+ date_value = Date .today (): start_of ( ' day ' )
407407 date_value = date_value :adjust (date_content )
408408 else
409409 date_content = date_str :match (' ^<([^>]+)>$' )
You can’t perform that action at this time.
0 commit comments