Bläddra i källkod

setup timezone combobox

Olivier Massot 2 år sedan
förälder
incheckning
3e397b8099

+ 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)