MagicMirror Module to display a calendar with multiple months
A mini-calendar with as many months as the user wants, assuming screen space is available.
Download
https://www.github.com/BKeyport/MMM-Multimonth
[card:BKeyport/MMM-Multimonth]
Installation
Clone this repository in your ~/MagicMirror/modules/ folder ( $ cd ~MagicMirror/modules/ ):
git clone https://github.com/BKeyport/MMM-Multimonth.git
Using the module
To use this module, add it to the modules array in the config/config.js file:
{
module: 'MMM-Multimonth',
position: 'top_left', // can be any of the postions
config: { // Optional - will default to 3 months, with one previous and one next.
startMonth: -1, // Define when you start from current month (negative is before current, zero is current, positive is in future)
monthCount: 3, // How many months to display
highlightWeekend: false // highlightWeekend if desired, set to true.
}
}
Many thanks to kirash for the inspiration with the monthly_calendar module, sdetweil and lavolp3 for the help in coding and CSS work. Without your help, this would just be a pipe dream.
This is a basic module, but I felt it was good enough for release to the public.
Please, if you have any suggestions for improvement, let me know, I’m learning Javascript and CSS as I write this, and I dream of much bigger things.
Localization is provided by moment.js and controlled by the master language of MagicMirror. Please file any errors with localizations as bugs with the moment.js team - https://github.com/moment/moment/
Please see github for version info and further instructions.