forked from extern/egroupware
Add full day name to app header for single day view
This commit is contained in:
parent
5358805479
commit
991748e152
@ -3893,7 +3893,9 @@ jQuery.extend(app.classes.calendar,{
|
|||||||
views: {
|
views: {
|
||||||
day: app.classes.calendar.prototype.View.extend({
|
day: app.classes.calendar.prototype.View.extend({
|
||||||
header: function(state) {
|
header: function(state) {
|
||||||
return app.calendar.View.header.call(this, state);
|
var formatDate = new Date(state.date);
|
||||||
|
formatDate = new Date(formatDate.valueOf() + formatDate.getTimezoneOffset() * 60 * 1000);
|
||||||
|
return date('l, ',formatDate) + app.calendar.View.header.call(this, state);
|
||||||
},
|
},
|
||||||
etemplates: ['calendar.view','calendar.todo'],
|
etemplates: ['calendar.view','calendar.todo'],
|
||||||
start_date: function(state) {
|
start_date: function(state) {
|
||||||
|
Loading…
Reference in New Issue
Block a user