Skip to content

Commit

Permalink
Merge pull request #162 from cloud-atlas-ai/release/1.9
Browse files Browse the repository at this point in the history
Release/1.9
  • Loading branch information
muness authored Jan 25, 2025
2 parents 1e1dc55 + 6cb1023 commit 9a36253
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
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"
}

0 comments on commit 9a36253

Please sign in to comment.