I want to use HighCharts to render some historical data. The issue is the chart is working with dates which are parsed using Data.parse
function. As explained here:
The Date.parse() method parses a string representation of a date, and returns the number of milliseconds since January 1, 1970, 00:00:00 UTC.
For example:
Date.parse("01/01/2013 08:00")
1357020000000
As I do not want to do JavaScript manipulation over the returned JSON
I want to do the conversion in ruby
. Is there such ruby
function?