Make weekend days shown correctly in event dialog (settings still follow locale).

This commit is contained in:
Leo Vasanko 2025-08-26 11:53:11 -06:00
parent a3066946fc
commit 6f8d9d7774
2 changed files with 5 additions and 4 deletions

View File

@ -655,6 +655,7 @@ const recurrenceSummary = computed(() => {
v-model="recurrenceWeekdays" v-model="recurrenceWeekdays"
:fallback="fallbackWeekdays" :fallback="fallbackWeekdays"
:first-day="calendarStore.config.first_day" :first-day="calendarStore.config.first_day"
:weekend="calendarStore.weekend"
/> />
</div> </div>
</div> </div>

View File

@ -175,9 +175,9 @@ defineExpose({ open })
<label class="ec-field"> <label class="ec-field">
<span>First day of week</span> <span>First day of week</span>
<select v-model.number="firstDay"> <select v-model.number="firstDay">
<option v-for="(name, idx) in weekdayNames" :key="idx" :value="idx"> <option v-for="(name, idx) in weekdayNames" :key="idx" :value="idx">
{{ name.charAt(0).toUpperCase() + name.slice(1) }} {{ name.charAt(0).toUpperCase() + name.slice(1) }}
</option> </option>
</select> </select>
</label> </label>
<div class="weekend-select ec-field"> <div class="weekend-select ec-field">
@ -275,7 +275,7 @@ select {
flex: 0 0 auto; flex: 0 0 auto;
min-width: 120px; min-width: 120px;
} }
/* WeekdaySelector display tweaks */
.footer-row { .footer-row {
display: flex; display: flex;
justify-content: flex-end; justify-content: flex-end;