Fix !zynk key-value timestamps to use localtime instead of UTC
- Fixed db_set() using datetime('now') which returns UTC, causing
!zynk <key> to display timestamps offset by the server's timezone
difference. Changed to datetime('now','localtime') so timestamps
match the system's local time.
- Also fixed db_rotate_history() (AI query context rotation) and the
zynk/tell table DEFAULT clauses to use localtime.
- Same pattern as the !seen fix in 0.39.1.
(0.40.1)
This commit is contained in:
parent
739e3622b5
commit
c1c9f0208b
4 changed files with 13 additions and 8 deletions
|
|
@ -1,3 +1,8 @@
|
|||
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.
|
||||
- Also fixed `db_rotate_history()` (used by AI query context) and the `tell` table default to use localtime.
|
||||
|
||||
2026.07.23 - Commit links for !gitlog, full changelog link for !changelog, CMake, multi-file refactor. (0.40.0)
|
||||
|
||||
- `!gitlog` now shows a link to each commit in the repository (e.g. `184d4c4 Fix whitespace... - https://...`), using the git remote URL converted from SSH/SCP to HTTPS.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue