if (Date.first_day_of_week == 1) {
    Date.weekdays = $w("L Ma Me J V S D");
} else {
    Date.weekdays = $w("D L Ma Me J V S");
}