From 03afb943bf35dd7989471f682a5a61e554183a13 Mon Sep 17 00:00:00 2001 From: Joe Banks Date: Mon, 8 Jul 2024 15:34:59 +0100 Subject: Document timezone field in SCHEMA.md --- SCHEMA.md | 27 +++++++++++++++++---------- 1 file changed, 17 insertions(+), 10 deletions(-) diff --git a/SCHEMA.md b/SCHEMA.md index 0e1093f..adfa0da 100644 --- a/SCHEMA.md +++ b/SCHEMA.md @@ -71,16 +71,17 @@ The following variables can be used in a webhook's message. The variables must b #### Question types -| Name | Description | -|--------------|-----------------------------------------------------------| -| `radio` | Radio buttons | -| `checkbox` | Checkbox toggle | -| `select` | Dropdown list | -| `short_text` | One line input field | -| `textarea` | Long text input | -| `code` | Syntax highlighted code input | -| `range` | Horizontal drag slider | -| `section` | Not an input, just a section of text to explain something | +| Name | Description | +|--------------|-------------------------------------------------------------------| +| `radio` | Radio buttons | +| `checkbox` | Checkbox toggle | +| `select` | Dropdown list | +| `short_text` | One line input field | +| `textarea` | Long text input | +| `code` | Syntax highlighted code input | +| `range` | Horizontal drag slider | +| `section` | Not an input, just a section of text to explain something | +| `timezone` | Similar to select, attempts to automatically detect user timezone | #### Question data @@ -165,6 +166,12 @@ Textareas require no additional configuration. } ``` +##### `timezone` + +Timezones require no additional options, they will automatically attempt to +select the users timezone, or allow the user to select one if it is detected +wrong/could not be detected. + ## Form response | Field | Type | Description | -- cgit v1.2.3