Skip to content

Commit

Permalink
Open calendar at current day (#48)
Browse files Browse the repository at this point in the history
Co-authored-by: Sebastian Flügge <[email protected]>
  • Loading branch information
seflue and seflue authored Jun 6, 2024
1 parent 5b88c8c commit 7ed0ec7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua/org-roam/extensions/dailies.lua
Original file line number Diff line number Diff line change
Expand Up @@ -286,7 +286,7 @@ return function(roam)
if type(date) == "table" then
date_promise = Promise.resolve(date)
else
date_promise = Calendar.new({ on_day = make_render_on_day(roam) }):open()
date_promise = Calendar.new({ date = Date.today(), on_day = make_render_on_day(roam) }):open()
end

return date_promise:next(function(date)
Expand Down

0 comments on commit 7ed0ec7

Please sign in to comment.