Code Monkey home page Code Monkey logo

Comments (2)

andrewbrereton avatar andrewbrereton commented on July 18, 2024 1

Hi @bepolymathe

Yes, a completed task gets the βœ… emoji. The rules are for task status:

  • - [ ] Incomplete 2024-02-21 in Obsidian would become πŸ”² Incomplete in your calendar.
  • - [/] In progress 2024-02-21 in Obsidian would become πŸƒ In progress in your calendar.
  • - [-] Cancelled 2024-02-21 in Obsidian would become 🚫 Cancelled in your calendar.
  • - [x] Done 2024-02-21 in Obsidian would become βœ… Done in your calendar.

You'll notice in the above examples that the date is just a bare date. i.e.: It is not using Tasks format.

In the example you provided, there is one status (Incomplete, in process, cancelled, done) derived from the [ ], and one date which is extracted from the line. I don't have a way to determine any more information than that, so that is all you will see in your calendar.

However, if you use the Tasks plugin format, you can configure the "how to process multiple dates" setting to choose how you want your calendar events to be created.

I'll explain them here:

If you choose "prefer start date"

  1. If task has a start date, then set event start date to that date,
  2. Otherwise if task has a due date, then set event start date to that date,
  3. Otherwise, find any date in the task and use that.

If you choose "create multiple events"

  1. If task has a start date, then set event start date to that date,
  2. And, if task has a scheduled date, then create another event with the scheduled date,
  3. And, if task has a due date, then create another event with the due date,
  4. And, if task has another date, then create another event with that date.

If you choose "prefer due date"

  1. If task has a start date, then set event start date to that date,
  2. Otherwise, if task has a due date, then set event start date to due date,
  3. Otherwise, find any date in the task and use that.

Hopefully the above is clear. I'm wondering if "create multiple events" suits your use case here.

from obsidian-to-ical-plugin.

bepolymathe avatar bepolymathe commented on July 18, 2024

Hi @andrewbrereton

Thank you for these details. It’s clear. I'm just wondering if changing the status to "done" might be accompanied by an adjustment of the DTSTART: in the .ics file to match the completion date. But perhaps it's a need not shared by other users. I just find it very handy to see when I've completed a task in the calendar. But it's true that this implies an implementation based on the Tasks format, which isn't in the current spirit of the plugin.

I use the "create multiple events" option and I'm very happy with it (thank you very much for implementing it πŸ‘πŸΌ).

from obsidian-to-ical-plugin.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.