timezone
| Category | String Format |
| Related | in |
| Bundle size | 216 B |
Validates that the value is a valid IANA timezone identifier (e.g. America/New_York), checked against the runtime's Intl API.
Usage
vue
<VfText name="timezone" label="Timezone" rules="timezone" />vue
<template>
<VfText name="timezone" label="Timezone" rules="timezone" />
</template>ts
{
timezone: {
type: 'text',
label: 'Timezone',
rules: 'timezone',
},
}Error Messages
| Key | Default Message |
|---|---|
rule_timezone_error | The {attribute} must be a valid zone. |