Преглед на файлове

setup timezone combobox

Olivier Massot преди 2 години
родител
ревизия
3e397b8099
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 2 1
      components/Layout/Parameters/PreferencesTab/GeneralParameters.vue
  2. 0 1
      components/Ui/Input/DatePicker.vue

+ 2 - 1
components/Layout/Parameters/PreferencesTab/GeneralParameters.vue

@@ -54,8 +54,9 @@
 
     <v-row>
       <UiInputCombobox
+          v-model="parameters.timezone"
           :label="$t('timezone')"
-          :items="['Europe / Paris', 'Europe / Zurich', 'Indian / La Réunion']"
+          :items="['Europe/Paris', 'Europe/Zurich', 'Indian/Reunion']"
       />
     </v-row>
 

+ 0 - 1
components/Ui/Input/DatePicker.vue

@@ -104,7 +104,6 @@ const fieldLabel = props.label ?? props.field
 const emit = defineEmits(['update:model-value', 'change'])
 
 const date: Ref<Date> = ref(new Date(props.modelValue))
-console.log(date.value)
 
 const onUpdate = (event: string) => {
   updateViolationState(event)