[Cosmo-dev] dashboard feeds
Randy Letness
randy at osafoundation.org
Tue Jun 12 11:52:02 PDT 2007
Brian Moseley wrote:
> On 6/12/07, Randy Letness <randy at osafoundation.org> wrote:
>
>> We may need the timezone if we want to evaluate floating date/times in
>> something other than the system default. Ideally we do something like:
>>
>> * Use timezone specified in query
>> * Otherwise if calendar collection has a timezone use it
>> * else use the system default
>
> i'll add a query param for timezone. but why interpret floating
> relative to the system default? why not GMT?
Using the system default makes sense when the server is local to all its
users. So if a user creates a floating event and does a time-range
query, if the system default is used then the event will be interpreted
to be in the local timezone.
>> We should have a timezone parameter for time-range queries also.
>
> time-range query params are specified as RFC3339 datetimes, which
> include optional timezones. we just need EventStampFilter.setTimeRange
> to accept Calendars instead of Dates.
I think your confusing the timezone of the time-range parameters with
the timezone that the server should use to interpret floating times.
The time-range query parameters should be UTC and the timezone parameter
would be for the server to use for floating times.
-Randy
More information about the cosmo-dev
mailing list