Time Zone Aware and Duration

All dates and times will be stored in UTC format. This will allow clients to mark up the dates to be relevant to the user and where they are in the world. Part of the message will specify the time zone of the user. Perhaps we will use the location facilities of the browser to help support this. This would be captured once and be stored as part of their session data.

All durations in the system will be the number of days. This needs to be consistent across the whole system. The duration will also store hours and minutes. So it can be a combination of all three.

Starting dates for trips should have a date and a time.

The user preferences should have the preferred date format. This will be the first one checked when converting input and also for presenting data to the PHP client. There will also be other guesses but the preferred format will be taken first.