diff options
| author | cyqsimon <28627918+cyqsimon@users.noreply.github.com> | 2024-02-06 23:34:03 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-02-06 15:34:03 +0000 |
| commit | 318bdd895590c97dd53f8d3661d76fa1c0cd67a0 (patch) | |
| tree | 98fc7c88708230d1a5318cc26424846d4539a2bc /atuin-client/config.toml | |
| parent | chore(deps): bump debian (#1673) (diff) | |
| download | atuin-318bdd895590c97dd53f8d3661d76fa1c0cd67a0.zip | |
Add timezone configuration option & CLI overrides (#1517)
* Allow specifying a timezone in history search/list
* Fix clippy complaints
* Add a bit more comment on supporting named timezones
* Add rudimentary tests
* Ditch local timezone test
* Timezone configuration support
* Set default timezone to `local`
* `--tz` -> `--timezone`
`--tz` is kept as a visible alias
Diffstat (limited to 'atuin-client/config.toml')
| -rw-r--r-- | atuin-client/config.toml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/atuin-client/config.toml b/atuin-client/config.toml index 1ddaa12e..faed994c 100644 --- a/atuin-client/config.toml +++ b/atuin-client/config.toml @@ -16,6 +16,12 @@ ## date format used, either "us" or "uk" # dialect = "us" +## default timezone to use when displaying time +## either "l", "local" to use the system's current local timezone, or an offset +## from UTC in the format of "<+|->H[H][:M[M][:S[S]]]" +## for example: "+9", "-05", "+03:30", "-01:23:45", etc. +# timezone = "local" + ## enable or disable automatic sync # auto_sync = true |
