fix date bug

fix date bug