소스 검색

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)