feat: Add --localTime option to logs command for local timezone display (#13818)

* feat: add --localTime options to make logs to show time with local time zone

fix #12447

* fix: prep logs local-time option and docs (#13818) (thanks @xialonglee)

---------

Co-authored-by: xialonglee <li.xialong@xydigit.com>
Co-authored-by: Sebastian <19554889+sebslight@users.noreply.github.com>
This commit is contained in:
Peter Lee
2026-02-11 21:24:08 +08:00
committed by GitHub
parent 620cf381ff
commit 851fcb2617
5 changed files with 109 additions and 6 deletions

View File

@@ -21,4 +21,8 @@ openclaw logs
openclaw logs --follow
openclaw logs --json
openclaw logs --limit 500
openclaw logs --local-time
openclaw logs --follow --local-time
```
Use `--local-time` to render timestamps in your local timezone. `--localTime` is supported as a compatibility alias.