Skip to content

Commit dc6fd44

Browse files
sirainencmouse
authored andcommitted
settings/types: Clarify Time and Millisecond Time types
1 parent e2f64e5 commit dc6fd44

File tree

1 file changed

+19
-8
lines changed

1 file changed

+19
-8
lines changed

docs/core/settings/types.md

Lines changed: 19 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -124,9 +124,13 @@ file, processing, and more.
124124

125125
The Time value supports using suffixes of any of the following words:
126126

127-
```
128-
secs, seconds, mins, minutes, hours, days, weeks
129-
```
127+
* `secs`
128+
* `seconds`
129+
* `mins`
130+
* `minutes`
131+
* `hours`
132+
* `days`
133+
* `weeks`
130134

131135
::: info
132136
So for example, `d`, `da`, `day`, and `days` all mean the same. Make sure to be
@@ -138,13 +142,20 @@ The value can also be `infinite`.
138142

139143
## Millisecond Time
140144

141-
Same as [Time](#time), but additionally supports milliseconds (`ms`) precision.
145+
This is similar to [Time](#time), but additionally supports milliseconds
146+
(`ms`) precision.
142147

143-
In addition to Time suffixes, adds support for the following words:
148+
The Millisecond Time value supports using suffixes of any of the
149+
following words:
144150

145-
```
146-
msecs, mseconds, millisecs, milliseconds
147-
```
151+
* All the suffixes supported by [Time](#time)
152+
* `msecs`
153+
* `mseconds`
154+
* `millisecs`
155+
* `milliseconds`
156+
157+
All of these have the same meaning. Similarly to [Time](#time), the suffixes
158+
can be shortened to e.g. `ms`.
148159

149160
## IP Addresses
150161

0 commit comments

Comments
 (0)