Assign appointment

* Change SP for an appointment
* Change time for an appointment

TODOs:
* Update the SP change correctly.
* Make the date editable as well.
Use a fully qualified format string just to get rid of the deprecation warning: ```2010-01-01T05:06:07```. Good to be strict here to stop browser inconsistency.