Make the calendar work with UTC date

fix #1