Plugin: Life Calendar

I use events like this

  • For a short trip (< 7 days) with a specific purpose (e.g., vacation), I add an event at the start of the trip and just put something like road trip (5 days) in the title. If something memorable happened in that trip, I add another event for that specific day.
  • For longer trip (1 ~ 4 weeks) you can add an event at the start (e.g., fly out) another event (e.g., fly back in) and just add more events for any memorable things in between
  • For even longer trip with no specific purpose, beside the start and the end event you can add another period in between

I use periods for thing in the background (e.g., employment, education, residence) rather than for events

1 Like

Is it possible to add an option for a month-based feature, with day-based and week-based ?
Thanks

If you meant month-based feature as in each month is a square, then no, this plugin currently does not support that. It is initially supposed to be a one off implementation for "Your Life in Weeks" concepts, so I don't have any plan to go beyond that. But I will add day-based and month-based calendar to my backlog and may get to it when I want to extend this plugin further (not anytime soon though).

Just wanted also to say thank you for this and other plugins you have shared (using this and at least Markdown Table: Sortable).

1 Like

I added the plugin and it sounds neat but can't figure out how to start/use it.

There is explanation and an example note in github, GitHub - hieuthi/joplin-plugin-life-calendar: Your Life in Week Plugin for Joplin. Just paste it to Joplin to see how it work.

Hi, Thanks for your plugin.
I have some questions / request ( first of all excuse me becouse i´m using very bad your calendar. I´m not using as life calendar):
I´m using your plugin as David Seah ´s Compact calendar (The Compact Calendar 2022-2023 – DSri Seah) and as habit calendar. It will be great to have an option to a day calendar.
it will be posible to automatically remark the current week ( today if someday you include this calendar option)
It will be posible to add repeats event in one line ( year events like birthdays or quarterly like blood donation etc...).
Why periods must be at the end of the structure ( i try to add in the middle an the rest of the events after disapear)?
I see that the order of the week events are the order that i write and not the order by date. It´s posible to change it. ( I´ll try to have a structure the events in #categories as meetings, work, others... )

In any case i repeat that is a great work and thanks.

  • Day and Month unit is in my backlog but every low in priority as this plugin is quite niche and it already had most of essential features for my setup. There is another plugin based on this one but developed by a different person that does support day/month https://discourse.joplinapp.org/t/plugin-event-calendar . I haven't try it myself but it may suit your need.
  • The week events in order of written so that you can manual "set" the event will appear in the calendar for weeks that have more than one event. As I am too lazy to implement a proper a visual-order I keep it like that. I can see how it is troublesome for certain way of writing. I will consider this problem the next time I work on this plugin
  • Separating events and periods makes the logics simpler. Combine them may introduce new problem so this will unlikely be changed.
  • Repeated events is a good feature but it can be a little elaborated to implement so I am not gonna implement it anytime soon.

Version 1.3.0

  • Now support day-based, month-based, and year-based calendar. You may wonder what year-base is good for, you can use it to write down the chronicle timeline of your fantasy novel or something.
  • As the event list will become longer, I have also at the ability to pin down the event list, just click on the square to pin it. Click any other square to unpin it.
1 Like

I think there is an error on periods in day mode. I was trying to manually add weekends as periods of two days. The logic I´ve used is : startdate : saturday , enddate: monday. This show saturday and sunday mark and 5 days between weekends. This work fine from march till november include but not working the rest of the months.
imagen

:calendar: Habits 2022-2023

* { font-family: 'caviar dreams' !important;} .fiesta{ color:black !important; background-color:yellow !important;} .examen{ color:aqua !important; background-color:red !important; } .paro{ color:aqua !important; background-color:purple !important; } .sangre{ color:white !important; background-color:crimson !important; } .cumple{ color:black !important; background-color:hotpink !important; } .compra{ color:gray !important; background-color:MediumTurquoise !important; } .comida{ color:Turquoise !important; background-color:blue !important; } .andar{ color:white !important; background-color:green !important; } .si{ color:cyan !important; background-color:green !important; } .no{ color:cyan !important; background-color:crimson !important; } .peso{ color:Thistle !important; background-color:SteelBlue !important; } .findsemana{ color:yellow !important; background-color:LightSlateGray !important; }
type: day  # [ day, week, month, year ]
dob: 2022-12-18
dod: 2024-01-01
# dod: 2023-01-01 # overwrite lifespan
events:
# IMPORTANT
  - date : 2022-12-18
    title: hecho
    icon : '<b>✓</b>'
	className: si	
  - date : 2023-01-01
    title: falta
    icon : '<b>✗</b>'
	className: no
periods:
# WEEKENDS. Logic: you must start on Saturday and end on Monday so that it takes both days, since it continues with the weeks process and marks each day as 2 as if the day started at 00:00 in the morning.
  - start: 2022-12-24
    end: 2022-12-26
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2022-12-31
    end: 2023-1-2
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-1-7
    end: 2023-1-9
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-1-14
    end: 2023-1-16
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-1-21
    end: 2023-1-23
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-1-28
    end: 2023-1-30
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-2-4
    end: 2023-2-6
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-2-11
    end: 2023-2-13
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-2-18
    end: 2023-2-20
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-2-25
    end: 2023-2-27
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-3-4
    end: 2023-3-6
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-3-11
    end: 2023-3-13
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-3-18
    end: 2023-3-20
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-3-25
    end: 2023-3-27
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
# Error: It doesn't work from here and the logic used is the same +2 starting on Saturday. He is marking a day before, leaving 4 days between weekends and not 2 but 3 days. I do it until the end of the year to see that the error remains (With the same logic, different result). It will work AGAIN from November with the same logic.
  - start: 2023-4-1
    end: 2023-4-3
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-4-8
    end: 2023-4-10
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-4-15
    end: 2023-4-17
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-4-22
    end: 2023-4-24
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-4-29
    end: 2023-5-1
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-5-6
    end: 2023-5-8
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-5-13
    end: 2023-5-15
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-5-20
    end: 2023-5-22
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-5-27
    end: 2023-5-29
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-6-3
    end: 2023-6-5
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-6-10
    end: 2023-6-12
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-6-17
    end: 2023-6-19
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-6-24
    end: 2023-6-26
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-7-1
    end: 2023-7-3
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-7-8
    end: 2023-7-10
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-7-15
    end: 2023-7-17
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-7-22
    end: 2023-7-24
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-7-29
    end: 2023-7-31
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-8-5
    end: 2023-8-7
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-8-12
    end: 2023-8-14
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-8-19
    end: 2023-8-21
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-8-26
    end: 2023-8-28
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-9-2
    end: 2023-9-4
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-9-9
    end: 2023-9-11
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-9-16
    end: 2023-9-18
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-9-23
    end: 2023-9-25
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-9-30
    end: 2023-10-2
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-10-7
    end: 2023-10-9
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-10-14
    end: 2023-10-16
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-10-21
    end: 2023-10-23
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-10-28
    end: 2023-10-30
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
# The same logic works AGAIN.
  - start: 2023-11-4
    end: 2023-11-6
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-11-11
    end: 2023-11-13
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-11-18
    end: 2023-11-20
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-11-25
    end: 2023-11-27
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-12-2
    end: 2023-12-4
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-12-9
    end: 2023-12-11
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-12-16
    end: 2023-12-18
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-12-23
    end: 2023-12-25
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow
  - start: 2023-12-30
    end: 2024-1-1
    title: Fin de Semana
    backgroundColor: LightSlateGray
    color: Yellow

That's odd, your note works fine in my machine. If I have to guess it might have something to do with the way javascript handle date and time. I will double check when I have some free time in the coming holiday season.

What system is your machine? is that Linux or Windows? Do you happen to live in a country with Daylight Saving Time or something in that nature?

It´s Windows and portable version but this is not the problem. It works fine when windows time change is disabled. It will be great that not depens on this value. But now it´s clear for me.


imagen

Update version 1.4.0

Changed

  • Change period end date intepretation to inclusive
  • Strengthen datetime handling
  • Change CSS

Added

  • Add className support for period
  • Add z-index (priority) support for event
1 Like

tkx a lot. Now I see it fine even with time change.

Update version 1.4.1

Added