brentvatne/caldo — Issue #1: Need to track user's time zones
Author: brentvatne
Created: 2012-01-22 08:20:45+00:00
State: open

When a request is sent to list user events for a certain day, the day is determined by providing timeMin and timeMax parameters in the following format: `2012-01-16T00:00:00-08:00`. The last portion `-08:00` is the time zone. I tried simply cutting the timezone off, but the calendar api won't accept it as a valid parameter.

There are two possible solutions I can think of:
1. read in the time zone from the calendar when the user logs in
2. ask the user to specify their time zone.

The time zone specified in the calendar might be hard to parse into something Ruby can work with: "America / Vancouver." Although the first solution would be more convenient for the user, the second isn't much more work. It can also be made easier for them by detecting when the timezone of their calendar changes, and asking if they want to update.