I have a JavaScript function in a web page which is given a UTC date by a .NET web api. The incoming date format is {"2018-10-14T22:19:53.2124123"}.
I convert the string using "new Date(dateTime)" which gives me a JavaScript date type of {Sun Oct 14 2018 22:19:53 GMT-0600 (Mountain Daylight Time)}. When I plot these dates on a Google line chart the x-axis shows six hours ahead (given the above example I get: 22:19 as the most recent data point). Should it not consume this date format and render the time local to my browser inside the chart or do I need to perform some kind of conversion? -- You received this message because you are subscribed to the Google Groups "Google Visualization API" group. To unsubscribe from this group and stop receiving emails from it, send an email to google-visualization-api+unsubscr...@googlegroups.com. To post to this group, send email to google-visualization-api@googlegroups.com. Visit this group at https://groups.google.com/group/google-visualization-api. To view this discussion on the web visit https://groups.google.com/d/msgid/google-visualization-api/5d9351ff-1f72-4e9f-afae-2ab195daaf0c%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.