Hi,
This is a confusing issue, but the main point here is that the server should
NOT necessarily serve the date-time values as GMT. It should serve them in
the as they should be presented by the client. Note that the data source
library (used to create the DateTimeValues in the server) doesn't accept
timezone. The data is, in a way, "timezone-less", and it will presented on
the client in the same way it's created on the server. Think of it that way:
the 'date' type has no timezone, and that's reasonable. The 'timeofday' type
also has no timezone, and that's also reasonable. The 'datetime' type is
just a concatenation of 'date' and 'timeofday'.

Alternatively, you can use the
DateFormatter<http://code.google.com/apis/visualization/documentation/reference.html#dateformatter>
on
the client to adjust the date/time from the known "server" timezone and the
client timezone.

HTH.

On Sat, Mar 19, 2011 at 8:26 PM, Cesium <[email protected]> wrote:

> For a year I did sleep,
> From me heard, not a peep.
>
> Awakened by an API,
> I write this poem for VizGuy.
>
> I store my stuff in UTC,
> Also known as GMT.
>
> Timeline! Timeline! Please don't change,
> The timezone from getVisibleRange().
>
> (OK, the name of the function is really getVisibleChartRange()
> but let's see you put THAT in a poem.)
>
> Basically caparomula summarizes the problem in the message
> on this group titled: GMT from data source interpreted in client time
> zone.
>
> This problem effects the dates returned by getVisibleChartRange as
> well.
>
> Can anyone give us an update on a fix?
>
> Cesium
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google Visualization API" group.
> To post to this group, send email to
> [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/google-visualization-api?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google Visualization API" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-visualization-api?hl=en.

Reply via email to