Open joshoolin opened 11 months ago
Temporary fix locally is to open the package directory, open the index.js file and modify the above line to a new date in the future (for example replace 2023 with 2024).
Hi everyone! Trying to fix this - when I open the package directory on Mac, it doesn't show the index.ts file.
Sorry for the ridiculous question. Still learning!
Have you git cloned the repository or downloaded the packaged file?
Best Regards, Aryan Sawhney On 24 Apr 2024 at 2:13 PM +0400, ryanjknapp @.***>, wrote:
Hi everyone! Trying to fix this - when I open the package directory on Mac, it doesn't show the index.ts file. Sorry for the ridiculous question. Still learning! — Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you are subscribed to this thread.Message ID: @.***>
I downloaded and installed via the plugin marketplace.
I downlaoded the packaged file then, placed inside the Plugin directory and Logseq told me there are issues and it cannot open.
FWIW I found index.16481dfd.js
in username/.logseq/plugins/logseq-calendars-plugin/dist
edited that file just searching for 2024 untill I found a thing at rrule.between(new Date(
and the start and end dates are specified there - I made them 2020 and 2025, quit and restarted logseq and it seems to work well now...
https://github.com/sawhney17/logseq-calendars-plugin/blob/5524a523a861280d04695f1aafc95c4275a5bbbd/index.ts#L179-L182