Add calendar directive