calendar directive, first iteration