factor out the _calendar function to generate the calendar from a list of events
factor out the _calendar function to generate the calendar from a list of events

rollandf/codeandtalk.com,shaylavi/codeandtalk.com,szabgab/codeandtalk.com,szabgab/codeandtalk.com,rollandf/codeandtalk.com,rollandf/codeandtalk.com,szabgab/codeandtalk.com,shaylavi/codeandtalk.com,mhorvvitz/codeandtalk.com,mhorvvitz/codeandtalk.com,rollandf/codeandtalk.com,szabgab/codeandtalk.com,shaylavi/codeandtalk.com,mhorvvitz/codeandtalk.com