mrkorb Posted January 6, 2008 Share Posted January 6, 2008 I found this MediaWiki calendar extension that does exactly what I want, except for one small thing. It starts the week on Monday, instead of Sunday. Usually through trial and error editing I can find a solution to things like this, but this one seems to have eluded me. Is there something I'm overlooking, or perhaps a few lines of code that could be added to make this change? Link to comment https://forums.phpfreaks.com/topic/84708-mediawiki-simplecalendar-extension-choosing-first-day-of-week/ Share on other sites More sharing options...
revraz Posted January 6, 2008 Share Posted January 6, 2008 Try to change this line in the order you want it foreach (array('M','T','W','T','F','S','S') as $i => $day) Link to comment https://forums.phpfreaks.com/topic/84708-mediawiki-simplecalendar-extension-choosing-first-day-of-week/#findComment-431884 Share on other sites More sharing options...
mrkorb Posted January 7, 2008 Author Share Posted January 7, 2008 Already tried that. It just shifts the letters around but not the day numbers. As far as I can tell that line is purely cosmetic, and you could have it say ABCDEFG if you wanted it to. Link to comment https://forums.phpfreaks.com/topic/84708-mediawiki-simplecalendar-extension-choosing-first-day-of-week/#findComment-432447 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.