fix date funciton
Merge branch 'master' of https://github.com/tmlai/CMPUT410-TTHE-Group-Project