NcTimezonePicker
Props
Prop name | Description | Type | Values | Default |
---|---|---|---|---|
additionalTimezones | An array of additional timezones to include with the standard database. Useful if there is a custom timezone, e.g. read from user data | array | - | [] |
value | The selected timezone. Use v-model for two-way binding. The default timezone is floating, which means a time independent of timezone. See https://icalendar.org/CalDAV-Access-RFC-4791/7-3-date-and-floating-time.html for details. | string | - | 'floating' |
Events
Event name | Properties | Description |
---|---|---|
input | Two-way binding of the value prop. Use v-model="selectedTimezone" for two-way binding |
Example
vue
<template>
<span>
<NcTimezonePicker v-model="tz" />
</span>
</template>
<script>
export default {
data() {
return {
tz: "Hawaiian Standard Time"
};
}
};
</script>