Fix calnedar granularity.

#2611