2
0
Fork 0
forked from zynk/zynk

Show commit date/time in !gitlog output

- !gitlog now shows the commit date and time in [YYYY-MM-DD HH:MM:SS]
  format at the beginning of each commit line, e.g.:
  [2026-07-22 14:30:15] 184d4c4 Fix whitespace... - https://...
- Changed git log format from '%H %s' to '%ci %H %s' and parsed the
  ISO date to extract date+time without timezone offset.

(0.40.2)
This commit is contained in:
Johannes Findeisen 2026-07-23 02:44:37 +02:00
commit 13409e78f7
2 changed files with 33 additions and 18 deletions

View file

@ -1,3 +1,7 @@
2026.07.23 - Show commit date/time in !gitlog output. (0.40.2)
- `!gitlog` now shows the commit date and time in `[YYYY-MM-DD HH:MM:SS]` format at the beginning of each commit line (e.g. `[2026-07-22 14:30:15] 184d4c4 Fix whitespace...`).
2026.07.23 - Fix !zynk key-value timestamps to use localtime. (0.40.1)
- Fixed `!zynk key = value` storing UTC timestamps instead of localtime: `db_set()` and the `zynk` table default used `datetime('now')` which returns UTC, causing `!zynk <key>` to display a timestamp offset by the server's timezone difference. Changed to `datetime('now','localtime')` so timestamps match the system's local time.