Commit 9e52fbd9 authored by Dmitry Volodin's avatar Dmitry Volodin
Browse files

Month display fixed

parent 989a8e09
......@@ -55,7 +55,7 @@ function pad(n,len) {
}
//
function format_date(d) {
return pad(d.getDate(),2)+"."+pad(d.getMonth(),2)+"."+pad(d.getFullYear(),4)+" "+pad(d.getHours(),2)+":"+pad(d.getMinutes(),2);
return pad(d.getDate(),2)+"."+pad(d.getMonth()+1,2)+"."+pad(d.getFullYear(),4)+" "+pad(d.getHours(),2)+":"+pad(d.getMinutes(),2);
}
// Fit value to 7 symbols
function format_value(v) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment