Unix friendly

unix friendly!
fix whenever task is not updated in db
add in ptime to time convert
Refactoring Ptime class
Refactoring Patient class
Refactoring Record class
Refactoring Schedule class
fix Ptime arithmetic bug
Refactoring Whenever Push Notifications
Merge branch 'fix-ptime-time-bug'