Wow, that's weird! I'll get rid of strings then, thanks for the clarification!
On Tue, Jan 15, 2013 at 12:29 AM, asgallant <[email protected]>wrote: > That has nothing to do with the Visualization API. It is an issue with > using strings to create Date objects in javascript. The behavior of > strings is seemingly random (from my point of view), whereas using explicit > construction always gets you what you want. See here for a display of the > differences: http://jsfiddle.net/asgallant/XEfHB/ > > > On Monday, January 14, 2013 9:57:42 PM UTC-5, Lucero del Alba wrote: >> >> So, reusing some previous examples... notice here how the date display on >> the candlesticks is shifted one day backwards http://jsfiddle.net/** >> k2hwr/1/ <http://jsfiddle.net/k2hwr/1/> for *date* data type At first >> I though it was one period shifted, then I noticed it was just one day, >> since it wouldn't matter whether it was weeks, months, days periods... >> Interestingly, the data type *datetime* seems to work just fine >> http://jsfiddle.net/**k2hwr/4/ <http://jsfiddle.net/k2hwr/4/> >> >> Why would that be? Bug? >> > -- > You received this message because you are subscribed to the Google Groups > "Google Visualization API" group. > To view this discussion on the web visit > https://groups.google.com/d/msg/google-visualization-api/-/SzUlGFtr-9AJ. > > 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. > -- Emiliano -- 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.
