if (Date.first_day_of_week == 1) {
    Date.weekdays = $w("P W Ś C P S N");
} else {
    Date.weekdays = $w("N P W Ś C P S");
}