Steven E. Bailey
|
Monday 19 June 2006 6:35:51 am
Looks like the MondayFirst is only used in lib/ezlocale/classes/ezlocale.php which has this defined:
$this->DayNames = array( 0 => 'sun', 1 => 'mon', 2 => 'tue',
3 => 'wed', 4 => 'thu', 5 => 'fri', 6 => 'sat' );
$this->WeekDays = array( 0, 1, 2, 3, 4, 5, 6 );
Looks like you could hack WeekDays if you need a different start day. As in: $this->WeekDays = array( 5, 6, 0, 1, 2, 3, 4 ); for a Friday start... Of course, I haven't tested this and there may be a more elegant solution...
Certified eZPublish developer
http://ez.no/certification/verify/396111
Available for ezpublish troubleshooting, hosting and custom extension development: http://www.leidentech.com
|