From cb4b47844d962dfe437c7531361eac7ebe077a01 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Fl=C3=BCgge?= Date: Thu, 6 Jun 2024 09:56:28 +0200 Subject: [PATCH] Open calendar at current day --- lua/org-roam/extensions/dailies.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/org-roam/extensions/dailies.lua b/lua/org-roam/extensions/dailies.lua index 3791421..4236817 100644 --- a/lua/org-roam/extensions/dailies.lua +++ b/lua/org-roam/extensions/dailies.lua @@ -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)