User pointed out a major bug: Previously, entering activities would default to the user's local device timezone. Which is a problem if you're entering activities for a trip in another timezone, and providing what would be the times in local time at the destination.
This update (currently still on branch: "auth") allows user to specify timezone for viewing and updating a particular trip. It will use (and display) the default timezone based on the user's device if no custom timezone is specified.
User pointed out a major bug: Previously, entering activities would default to the user's local device timezone. Which is a problem if you're entering activities for a trip in another timezone, and providing what would be the times in local time at the destination.
This update (currently still on branch: "auth") allows user to specify timezone for viewing and updating a particular trip. It will use (and display) the default timezone based on the user's device if no custom timezone is specified.
Uses dayjs and the utc and timezone extensions/plugins. https://day.js.org/docs/en/plugin/timezone