A simple calendar widget. Install to tooltray with drag-and-drop.
Displays the current month's calendar, and highlights the current day.
Click the block (top left) to toggle the window's transparency. (When started on the tooltray, it will automatically be transparent)
The date is calculated in local time by default. Switch to UTC by clicking the house (local) indicator.
Using my DateToUnix function: https://www.lexaloffle.com/bbs/?tid=146596 (Hey, I finally found a use for it!)
Changelog
v1.0.1 (2025-03-01):
- Fix text centering
v1.0.2 (2025-03-09):
- Fixed day of week being wrong after daylight savings starts



Hmm, in the web player, the date is wrong. It says march 1 is a Tuesday(?), but it displays correctly in actual Picotron.
I'm using date("%w")
to figure out the position to draw the first day. According to PIL 22.1 - Date and Time, "%w" is supposed to return 0 to 6, representing Sunday (0) to Saturday (6), but it seems in the web player it returns 2 for Saturday?

[Please log in to post a comment]