Calendar plugin

Izidor asked me to create a pull request of the plugin I'm working on.
I'm still working on some details, but this version should work (I'm not aware of any major bugs).
omit parens