docs(time): add missing quotations in options and examples (#967)

This commit is contained in:
Christopher Goh 2020-02-29 02:01:47 +08:00 committed by GitHub
parent b27e8466ed
commit 1eabd52725
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 3 deletions

View File

@ -1163,8 +1163,8 @@ To enable it, set `disabled` to `false` in your configuration file.
| ----------------- | ------------- | ------------------------------------------------------------------------------------------------------------------- |
| `use_12hr` | `false` | Enables 12 hour formatting |
| `format` | see below | The [chrono format string](https://docs.rs/chrono/0.4.7/chrono/format/strftime/index.html) used to format the time. |
| `style` | `bold yellow` | The style for the module time |
| `utc_time_offset` | `local` | Sets the UTC offset to use. Range from -24 < x < 24. Allows floats to accommodate 30/45 minute timezone offsets. |
| `style` | `"bold yellow"` | The style for the module time |
| `utc_time_offset` | `"local"` | Sets the UTC offset to use. Range from -24 < x < 24. Allows floats to accommodate 30/45 minute timezone offsets. |
| `disabled` | `true` | Disables the `time` module. |
If `use_12hr` is `true`, then `format` defaults to `"%r"`. Otherwise, it defaults to `"%T"`.
@ -1178,7 +1178,7 @@ Manually setting `format` will override the `use_12hr` setting.
[time]
disabled = false
format = "🕙[ %T ]"
utc_time_offset = -5
utc_time_offset = "-5"
```
## Username