Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -77,11 +77,13 @@ You can see the available fields an the [Event interface](https://github.com/clo

### Full Calendar

Or you can use [Full Calendar](https://github.com/obsidian-community/obsidian-full-calendar) to render a calendar view of your events. Here's an example of how you can use it:

```javascript
const { renderCalendar } = app.plugins.getPlugin("obsidian-full-calendar");
const thisWeek = Array.from({length: 7}).map((_, weekday) => moment().set({weekday}).format("YYYY-MM-DD"))
const icsPlugin = app.plugins.getPlugin('ics')
const events = (await icsPlugin.getEvents(...thisWeek))
const events = (await icsPlugin.getEvents(...thisWeek))
.map(event => {
const start = moment.unix(event.utime)
const [endHours, endMinutes] = event.endTime.split(":")
Expand Down Expand Up @@ -109,6 +111,7 @@ If you want to support my work, you can [buy me a coffee](https://www.buymeacoff
- [Documenting Dataview usage](https://github.com/muness/obsidian-ics/issues/56#issuecomment-1746417368) @afonsoguerra
- [Vdir enhancements](https://github.com/cloud-atlas-ai/obsidian-ics/pull/131) @bpannier
- [Ensure recurrent flag is set correctly](https://github.com/cloud-atlas-ai/obsidian-ics/pull/158) for recurrence overrides @mikeh
- [Support multiple days](https://github.com/cloud-atlas-ai/obsidian-ics/pull/160) and document [Full Calendar](https://github.com/obsidian-community/obsidian-full-calendar) usage @ctrl-q

## Manual Installation

Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "ics",
"name": "ICS",
"version": "1.8.4",
"version": "1.9",
"minAppVersion": "1.7.7",
"description": "Parse multiple ICS files to include in your notes. Designed for Daily Notes and the Day Planner format. Through templates you can customize it for other use cases.",
"author": "Cloud Atlas",
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "obsidian-ics",
"version": "1.8.4",
"version": "1.9",
"description": "Adds events from calendar ics published on the web to daily note on demand. Daily Note or Periodic Notes plugins: specifically it gets the date to search for events during from the currently open daily note.",
"main": "dist/main.js",
"scripts": {
Expand Down
3 changes: 2 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -57,5 +57,6 @@
"1.8.2": "1.7.7",
"1.8.3": "1.7.7",
"1.8.3.1": "1.7.7",
"1.8.4": "1.7.7"
"1.8.4": "1.7.7",
"1.9": "1.7.7"
}
Loading