Skip to content
Snippets Groups Projects
Commit 7c4b3dbd authored by Jeroen Nijhof's avatar Jeroen Nijhof
Browse files

Google charts use different month countings

parent 87c25775
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -33,7 +33,7 @@
<% value = stat['value'] %>
<% value = '0' if !stat['value'] %>
<% time = Time.at(stat['time']) %>
[new Date(<%= time.year %>,<%= time.month %>,<%= time.day %>,<%= time.hour %>,<%= time.min %>),<%= value.gsub('ms', '').gsub('s', '') %>],
[new Date(<%= time.year %>,<%= time.month - 1 %>,<%= time.day %>,<%= time.hour %>,<%= time.min %>),<%= value.gsub('ms', '').gsub('s', '') %>],
<% end %>
]);
 
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment