Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork5.2k
Commite255de9
committed
minor#3429 [Reference][Form Types] Document "with_minutes" time/datetime option (bicpi)
This PR was merged into the 2.3 branch.Discussion----------[Reference][Form Types] Document "with_minutes" time/datetime option| Q | A| ------------- | ---| Doc fix? | yes| New docs? | yes| Applies to | 2.3+| Fixed tickets |#3410 (task `time > with_minutes`)The `datetime` field also has a `with_minutes` option.Using the `single_text` widget type might not work as expected using `with_minutes=false` if the browser supports HTML5's `time` input type. Most browsers seem to only support `hh:mm` or `hh:mm:ss` formats for the value attribute (resetting the value to `--:--` if using an hour value only). This might not be the case for every browser because I couldn't find anything in the HTML5 spec that says a partial time cannot be an hour only. I've added a `caution` box for this.Commits-------1e88b9d Fix "versionadded" position8cfb850 [Reference][Form Types] Document "with_minutes" time/datetime optionFile tree
3 files changed
+27
-3
lines changed- reference/forms/types
- options
3 files changed
+27
-3
lines changedLines changed: 3 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
26 | 26 |
| |
27 | 27 |
| |
28 | 28 |
| |
| 29 | + | |
29 | 30 |
| |
30 | 31 |
| |
31 | 32 |
| |
| |||
109 | 110 |
| |
110 | 111 |
| |
111 | 112 |
| |
| 113 | + | |
| 114 | + | |
112 | 115 |
| |
113 | 116 |
| |
114 | 117 |
| |
|
Lines changed: 10 additions & 0 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + |
Lines changed: 14 additions & 3 deletions
Original file line number | Diff line number | Diff line change | |
---|---|---|---|
| |||
17 | 17 |
| |
18 | 18 |
| |
19 | 19 |
| |
| 20 | + | |
20 | 21 |
| |
21 | 22 |
| |
22 | 23 |
| |
| |||
83 | 84 |
| |
84 | 85 |
| |
85 | 86 |
| |
86 |
| - | |
| 87 | + | |
| 88 | + | |
87 | 89 |
| |
88 |
| - | |
| 90 | + | |
| 91 | + | |
89 | 92 |
| |
90 |
| - | |
| 93 | + | |
91 | 94 |
| |
92 | 95 |
| |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
93 | 102 |
| |
94 | 103 |
| |
95 | 104 |
| |
| |||
106 | 115 |
| |
107 | 116 |
| |
108 | 117 |
| |
| 118 | + | |
| 119 | + | |
109 | 120 |
| |
110 | 121 |
| |
111 | 122 |
| |
|
0 commit comments
Comments
(0)