fix appointment bugs

old dates are also queried to display
fix edit appointment bug

time not displaying correctly
Merge remote-tracking branch 'origin/development' into mic_branch