David Knaack
d06ba072a8
feat(config): allow printing default and computed config ( #2521 )
...
* feat: allow printing default and computed config
* fix custom modules
* actually fix custom modules
2021-03-31 17:31:55 +02:00
David Knaack
052b56fe10
refactor: replace RootModuleConfig with Default ( #2458 )
2021-03-15 11:40:52 +01:00
Zhenhui Xie
ec76fafff0
feat: refactor modules to use format strings ( #1374 )
2020-07-07 18:45:32 -04:00
Samuele Esposito
fe2b3d491e
feat(time): Show module with time range ( #992 )
...
* Creation of range field in TimeConfig
* time_range parsing
* Hide time module if outside of time_range
* Tidying of code, and properly handling more cases
* is_inside_time_range function
* Tests and fmt
* Update docs
* The configuration needs the 24-hours format
* Fix clippy errors
2020-05-31 19:43:08 +02:00
Keith Wade
9d48706360
feat: Implement timezone offset config option for the time module ( #463 )
...
This allows users to configure the time module to display time with a timezone offset other than just their local timezone.
2019-10-10 13:42:57 +09:00
Thomas Lee
27e8c8f3eb
refactor: Rewrite time
module to use module config ( #483 )
...
- Config option renamed: `12hr` → `use_12hr`
2019-10-06 00:07:00 +09:00