mirror of
https://github.com/Llewellynvdm/starship.git
synced 2024-12-27 03:42:39 +00:00
docs(config): Disabled at the end of the options
In the `time` module, bring `disabled` option at the end of the table for coherence with all the other modules
This commit is contained in:
parent
539f320a3f
commit
c4ed88952c
@ -1050,8 +1050,8 @@ To enable it, set `disabled` to `false` in your configuration file.
|
|||||||
| `use_12hr` | `false` | Enables 12 hour formatting |
|
| `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. |
|
| `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 |
|
| `style` | `bold yellow` | The style for the module time |
|
||||||
| `disabled` | `true` | Disables the `time` module. |
|
|
||||||
| `utc_time_offset` | `local` | Sets the UTC offset to use. Range from -24 < x < 24. Allows floats to accommodate 30/45 minute timezone offsets. |
|
| `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"`.
|
If `use_12hr` is `true`, then `format` defaults to `"%r"`. Otherwise, it defaults to `"%T"`.
|
||||||
Manually setting `format` will override the `use_12hr` setting.
|
Manually setting `format` will override the `use_12hr` setting.
|
||||||
|
Loading…
Reference in New Issue
Block a user