Support dateFormat and fix bug

Support dateFormat "YY/MM/DD h:m".
Bug: incorrect month in calendar.