I use control.calendar heavily. But I like more options:
- dayStart (1 for europe)
hour (24 hours)
height and width
so I made some modifications:
[code]
33a34,38
'maxHour': 12,
'minHour': 1,
'dayStart': 0,
'height': 310,
'widht': 310,
70c78,79
< '__dayStart': 1,
---
// '__dayStart': 0, to this.options.dayStart
>
138a148,150
>
>
>
249c261
< 'width': 310,
---
'width': this.options.width,
253c265
< 'height': (window.gecko ? 290 : 310) }
---
'height': (window.gecko ? this.options.height-10 : this.options.height) }
559,560c571,572
< 'minValue': 1,
< 'maxValue': 12,
---
'minValue': this.options.minHour,
'maxValue': this.options.maxHour,
564c576
< for (var i = 1; i <= 12; i++)
---
for (var i = 0; i <= 24; i++)
768c780
< while (cursor.getDay() != this.__dayStart) {
---
while (cursor.getDay() != this.options.dayStart) {
777c789
< var dstart = this.__dayStart;
---
var dstart = this.options.dayStart;
[/code]