Follow-up from "Draft: feat: add appointments"
The following discussion from !319 (merged) should be addressed:
-
@olastor started a discussion: (+10 comments) Do I understand correctly that `.Time` is the property of the appointment and `DisplayLocalTime .Time` converts it to the logged-in user's zone?
The difficulty is that the time first needs to be interpreted as being in the timezone of the teacher's profile, and then be displayed as being in the timezone of the viewing user's zone. That doesn't seem to be the case or am I missing something? Otherwise it wouldn't work well (e.g. assuming the appointment time is always referring to utc in the DB) because if a teacher user changes their timezone in the profile, it would need to update all appointments.