感謝vauthrin熱心的協助(日曆轉為由週日起始的問題):
The code which sets the start date for the calendar is found in class/locale/locale.class.php. In that file look for the following function:
function firstDayOfWeek()
{
switch($this->getCountryId()) {
case "US":
case "AU":
case "IE":
case "UK": $day = 0; break;
default: $day = 1; break;
}
return $day;
}
This sets the start day to sunday for "US", "AU", "IE", "UK". Everyone else gets monday. So if you were using the Chinese locale, you would change the code like this:
function firstDayOfWeek()
{
switch($this->getCountryId()) {
case "US":
case "AU":
case "IE":
case "CN":
case "TW":
case "UK": $day = 0; break;
default: $day = 1; break;
}
return $day;
}
Hope that answers your question.
Work ... thanks.