Displays a yearly or monthly calendar with popups that show links to tiddlers
- By default, the calendar displays the current year.
- Enter a year number or select a month to change the view. Press [X] to reset to the current year view.
- Click on a month title to toggle between annual and single-month view.
- Press [<<] to view the previous month. Press [>>] to view the next month.
- Dates on which tiddlers were created or modified and dates which have a Journal tiddler are colored light blue.
- Click a date to show a popup with links to tiddlers created or modified on that date.
- Press [pencil] to create or edit a Journal tiddler for that date.
- You can set the colors and font styles used by the calendar (see TiddlyTools/Timer/Setup below).
Now, when clicking on a day of the month I see a text, but the text is showing the date after. Example clicking the date september 1, shows the text, 2nd September 2020.
<$edit-text field=date type=date tag="input"/> {{!!date}}
<$edit-text field=time type=time tag="input"/> {{!!time}}
<$edit-text field=datetime-local type="datetime-local" tag="input"/> {{!!datetime-local}}
\define myactions()
<$action-sendmessage $message="tm-notify" $param="SampleNotification"/>
\end
<$button tag=div actions=myactions>
<$edit-text field=time type=time tag="input"/>
</$button>
Example of current timezone related issue.I see this date issue as well see the image, I went to add a note for Christmas day, I live at +10 GMT/UTC, I selected 24th in this snapshot.
parameter D = a date, in the format YYYYMMDD
D may include a time of day, but this is ignored.
<$vars month={{{ [[$mm$]addprefix[0]split[]last[2]join[]] }}}>
<$vars day={{{ [<dd>add[1]addprefix[0]split[]last[2]join[]] }}}>
<$vars today={{{ [[$yyyy$]addsuffix<month>addsuffix<day>] }}}>
<$vars month={{{ [[$mm$]addprefix[0]split[]last[2]join[]] }}}>
<$vars day={{{ [<dd>addprefix[0]split[]last[2]join[]] }}}>
<$vars today={{{ [[$yyyy$]addsuffix<month>addsuffix<day>addsuffix[120000000]] }}}>
Fine in 10+ time zone now thanks
<$list filter="[!is[system]$subfilter$has[$dateField$]!sort[$dateField$]limit[$limit$]eachday[$dateField$]]">
Perhaps you plan so but It would be nice to remove the left and right arrows from the year view?
By the way I edited TiddlyTools/Timer/Calendar and see it is eminently hack able, Beautiful.
Love your work
Hi all,I'm pleased to announce two new additions to my TiddlyTools suite of time-related tiddlers: Interactive calendar display
To install, just drag-and-drop the following tiddler into your document:Displays a yearly or monthly calendar with popups that show links to tiddlers
- By default, the calendar displays the current year.
- Enter a year number or select a month to change the view. Press [X] to reset to the current year view.
- Click on a month title to toggle between annual and single-month view.
- Press [<<] to view the previous month. Press [>>] to view the next month.
- Dates on which tiddlers were created or modified and dates which have a Journal tiddler are colored light blue.
- Click a date to show a popup with links to tiddlers created or modified on that date.
- Press [pencil] to create or edit a Journal tiddler for that date.
- You can set the colors and font styles used by the calendar (see TiddlyTools/Timer/Setup below).
With either calendar display, you can easily see on which days you have created or modified tiddlers,giving you a yearly or monthly view of your tiddler changes. Then, click on any date to view a popupthat lets you view/edit a Journal tiddler for that date or quickly navigate to any tiddlers created/modifiedon that date.
You can also add a monthly calendar directly in the SideBar tabs!...To install, just drag-and-drop the following tiddler into your document:
As a test, I dropped the Calendar into http://TiddlyWiki.com, and was able to instantly seea "year-at-a-glance" overview of all the changes that Jeremy has made since January 2020.Note: the Calendar currently excludes system tiddlers, so it doesn't show changes to $:/state, $:/temp,and TWCore shadow tiddlers. I will soon be adding a configuration setting to allow customization of
--the Calendar filter so shadows and other system tiddlesr can be included if desired.enjoy,-e
You received this message because you are subscribed to the Google Groups "TiddlyWiki" group.
To unsubscribe from this group and stop receiving emails from it, send an email to tiddlywiki+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/tiddlywiki/4ab62b70-e074-4679-8035-8ce17c1ede7bo%40googlegroups.com.
Another wonderful iteration, thank you! Not only useful as a tool, but also a great TW5 programming lesson for us to study. May I humbly suggest the addition of<$transclude tiddler=<<journalTitle>> mode=block/>in the showday() macro, just after the call to <<editjournal>>, so that the popup also displays any additional text the user might have added for that day?
This is brilliant and very hackable! Just one remark: there is a typo in the showmonth-macro: in the fifth line, it should be "[calendar_highlight]" and not "[calendar_highight]".
Defines a set of events used by: TiddlyTools/Timer/Calendar and TiddlyTools/Timer/SidebarCalendar
YYYYMMDD
, where YYYY is the year, MM is the month number, and DD is the day number. Include a leading zero for single-digit months and days.....
in place of the year (e.g., ....0101;New Year's Day
).202104(10|11|12|13|14|15|16|17|18);Spring Break Vacation
)....0202;Groundhog Day
....0214;Valentine's Day
....0401;April Fools Day
....0505;Cinco de Mayo
....0614;Flag Day
....0619;Juneteenth
....0704;Independence Day
....0724;Eric's Birthday
....0911;Patriot Day (9/11 Rememberance)
....1031;Halloween
....1224;Christmas Eve
....1225;Christmas Day
....1226;Kwanzaa (first day)
....1231;New Year's Eve
....0101;New Year's Day
20200308;Daylight Saving Time starts
20200525;Memorial Day
20200907;Labor Day
20201101;Daylight Saving Time ends
20201103;Election Day
20201126;Thanksgiving Day
20201211;Hanukkah (first day)
20210120;Inauguration Day
20210314;Daylight Saving Time starts
202104(10|11|12|13|14|15|16|17|18);Spring Break Vacation
20210531;Memorial Day
20210906;Labor Day
20211107;Daylight Saving Time ends
20211125;Thanksgiving Day
20211129;Hanukkah (first day)
<<package "[prefix[TiddlyTools/Timer]]" "Drag and Drop to install">>
Thanks so much for this extensive solution.As a thank you please accept this unpublished solution. called "Package".
To import these tiddlers,
<$button dragFilter="[prefix[TiddlyTools/Timer]] [prefix[Sample]]" class="tc-btn-invisible tc-tiddlylink">
drag this link
</$button>
into your own ~TiddlyWiki.
One issue I am having with the Calendar and Sidebar Calendar is that they show as a single line for each month. That is not a "calendar" shape at all? (see image).I am using the "Stories" plugin, maybe that is conflicting. Any ideas?
<$list filter="[<dd>add<first>divide[7]split[.]count[]match[1]]"><br></$list>
I am using 5.1.22. However, I am also using the "Whitespace" theme maybe thats an issue?
Happy to send to you privately. How to do that?
<$list filter="[<dd>add<first>divide[7]split[.]count[]match[1]]"><br></$list>
<$list filter="[<dd>add<first>divide[7]split[.]count[]!match[2]]"><br></$list>
In any event, I've updated my code to make it compatible with both the TWCore and tobibeer's plugin, by using the following:
<$list filter="[<dd>add<first>divide[7]split[.]count[]!match[2]]"><br></$list>(i.e., check to see if the calculation doesn't have 2 parts, rather than checking to see if it only has 1 part)
<$list filter="[<dd>add<first>remainder[7]match[0]]"><br></$list>