aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Joe Banks <[email protected]>2024-07-08 15:34:59 +0100
committerGravatar Joe Banks <[email protected]>2024-07-08 15:34:59 +0100
commit03afb943bf35dd7989471f682a5a61e554183a13 (patch)
treebe284966bdda7c6b90f51bf809736c1ed608c226
parentRemove erroneous await from non-async set_response_token (diff)
Document timezone field in SCHEMA.md
-rw-r--r--SCHEMA.md27
1 files 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 |