Calendar Library 1.1 Scripts 4.4 Community
Submitted by user pend00; MIT; 2025-11-04
Calendar is a comprehensive library for creating calendar views, including yearly, monthly, weekly overviews, and agendas.
Features:
- Generate full year, month and week calendars through simple functions.
- Supports variable start of the week (any weekday can be the first day of the week).
- Supports week numbers in two versions - "First four day week" (where Week 1 is the first week with four days in it) and "Traditional" (where Week 1 is the week containing January 1).
- Localization for day names and month names in three versions, Full (e.g. "Monday"), Abbreviation (e.g. "Mon") and Short (e.g. "M"), plus standard date format for each locale.
- Customizable date format through POSIX-style placeholders (e.g. "%A, %-d %B" become "Wednesday, 21 October"). Supports any divider characters.
- A Date class with functions for manipulating and comparing dates.
Installation:
The library is a script addon, you use it by creating a new Calendar instance from any script. No need to turn it on/off from the Plugins list.
Documentation:
Full documentation can be found in documentation.md and is also supported in the editor through the Documentation Help section. Search for Calendar, Calendar.Date and CalendarLocale.
View files Download Submit an issue Recent Edits