Vanilla 1 is no longer supported or maintained. If you need a copy, you can get it here.
HackerOne users: Testing against this community violates our program's Terms of Service and will result in your bounty being denied.


edited August 2006 in Vanilla 1.0 Help


  • Options
    Is it possible to define Monday as the first day of the week?
  • Options
    would you be able to extend/modify this to display events? Perhaps combine this with the countdown calendar?
  • Options
    Sorry people, this one is provided 'as is' but if anyone wants to take it over let me know, I'll send you the source files.

    Posted: Saturday, 31 March 2007 at 8:33AM

  • Options
    To make Monday the first day of the week, this should do the trick:

    Line 21:
    var day_of_week = new Array('M','T','W','T','F','S','S');

    Line 43:
    for(index=1; index < Calendar.getDay(); index++)

    Line 50:
    if(week_day == 1)

    Line 52:
    if(week_day != DAYS_OF_WEEK+1)

    Line 60:
    if(week_day == DAYS_OF_WEEK+1)
  • Options
    Not showing in extension list. Could there be interaction or naming issues?
  • Options
    Thanks for this extension, and to kimC for the Monday start code changes; looks really nifty!
  • Options
    Code changes suggested by kimC for starting week on Monday are not working now we are in February! The 1st appears as Mon (as does 2nd, rest also works OK).
Sign In or Register to comment.