added year to headline date (closes #77)
This commit is contained in:
parent
3811734321
commit
989225a8f1
1 changed files with 2 additions and 2 deletions
|
@ -409,8 +409,8 @@ vz.wui.formatNumber = function(number) {
|
|||
}
|
||||
|
||||
vz.wui.updateHeadline = function() {
|
||||
var from = $.plot.formatDate(new Date(vz.options.plot.xaxis.min + vz.options.timezoneOffset), '%d. %b %h:%M:%S', vz.options.plot.xaxis.monthNames);
|
||||
var to = $.plot.formatDate(new Date(vz.options.plot.xaxis.max + vz.options.timezoneOffset), '%d. %b %h:%M:%S', vz.options.plot.xaxis.monthNames);
|
||||
var from = $.plot.formatDate(new Date(vz.options.plot.xaxis.min + vz.options.timezoneOffset), '%d. %b %y %h:%M', vz.options.plot.xaxis.monthNames);
|
||||
var to = $.plot.formatDate(new Date(vz.options.plot.xaxis.max + vz.options.timezoneOffset), '%d. %b %y %h:%M', vz.options.plot.xaxis.monthNames);
|
||||
$('#title').html(from + ' - ' + to);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue