Patching the calendar module