Hmm, that sounds quite convenient. I would like a couple extra hours
each day. Can we keep it that way, please?
(The planet I'm from only has 25 hour days, but I'm not one to turn down
an extra hour or two.)
-Don
Benjamin Shine wrote:
> In calendar.lzx, anybody have any idea why this loop increments by 26
> hours, rather than the conventional 24? (Mr. Crowley inherited the
> code in this state.)
>
> for(k = 0; k < this.subviews.length && k <=
> lastVisibleDay; k++){
> // to get start of next day, add 26 hours, then
> // zero hours/mins/secs/msecs
> dtend = new Date(dtstart.getTime() + 26 * 3600000);
> dtend.setHours(0);
> dtend.setMinutes(0);
> dtend.setSeconds(0);
> dtend.setMilliseconds(0);
>
> dayview = this.subviews[k];
> dayview.setDate(dtstart, dtend);
>
> //Debug.write("dtstart: "+dtstart.getDate());
>
> if(firstDay == "" && dtstart.getDate() == 1){
> firstDay = dayview;
> }
>
> //Debug.write( "k, DATE, subview =" + k + ","
> // + dtstart.toString() + "," + dayview);
>
> dtstart = dtend;
> }
>
>
> _______________________________________________
> Laszlo-dev mailing list
> [email protected]
> http://www.openlaszlo.org/mailman/listinfo/laszlo-dev
>
_______________________________________________
Laszlo-dev mailing list
[email protected]
http://www.openlaszlo.org/mailman/listinfo/laszlo-dev