change month format
This commit is contained in:
parent
d8e7fe7c02
commit
3f4c238b2f
|
|
@ -57,7 +57,7 @@ $(function() {
|
||||||
console.log("XXX: "+start.format());
|
console.log("XXX: "+start.format());
|
||||||
|
|
||||||
function cb(start, end) {
|
function cb(start, end) {
|
||||||
$('#reportrange span').html(start.format('D. MMMM YYYY') + ' - ' + end.format('D. MMMM YYYY'));
|
$('#reportrange span').html(start.format('D. MMM YYYY') + ' - ' + end.format('D. MMM YYYY'));
|
||||||
console.log("A new date selection was made: " + start.format() + ' to ' + end.format());
|
console.log("A new date selection was made: " + start.format() + ' to ' + end.format());
|
||||||
s_start = start.utc().format('YYYY-MM-DDTHH:mm:ss[Z]');
|
s_start = start.utc().format('YYYY-MM-DDTHH:mm:ss[Z]');
|
||||||
s_end = end.utc().format('YYYY-MM-DDTHH:mm:ss[Z]');
|
s_end = end.utc().format('YYYY-MM-DDTHH:mm:ss[Z]');
|
||||||
|
|
@ -113,18 +113,18 @@ $(function() {
|
||||||
"Sa"
|
"Sa"
|
||||||
],
|
],
|
||||||
"monthNames": [
|
"monthNames": [
|
||||||
"Januar",
|
"Jan",
|
||||||
"Februar",
|
"Feb",
|
||||||
"März",
|
"Mär",
|
||||||
"April",
|
"Apr",
|
||||||
"Mai",
|
"Mai",
|
||||||
"Juni",
|
"Jun",
|
||||||
"Juli",
|
"Jul",
|
||||||
"August",
|
"Aug",
|
||||||
"September",
|
"Sep",
|
||||||
"Oktober",
|
"Okt",
|
||||||
"November",
|
"Nov",
|
||||||
"Dezember"
|
"Dez"
|
||||||
],
|
],
|
||||||
"firstDay": 1
|
"firstDay": 1
|
||||||
},
|
},
|
||||||
|
|
@ -263,7 +263,7 @@ if (stop == null) {
|
||||||
range = range + "&stop=" + stop;
|
range = range + "&stop=" + stop;
|
||||||
}
|
}
|
||||||
|
|
||||||
$('#reportrange span').html(moment(start).format('D. MMMM YYYY') + ' - ' + moment(stop).format('D. MMMM YYYY'));
|
$('#reportrange span').html(moment(start).format('D. MMM YYYY') + ' - ' + moment(stop).format('D. MMM YYYY'));
|
||||||
|
|
||||||
drawGraph(deveui, alias, property, start, stop, true);
|
drawGraph(deveui, alias, property, start, stop, true);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue