2
0
Fork 0
forked from zynk/zynk

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:
Johannes Findeisen 2026-07-23 02:30:52 +02:00
commit c1c9f0208b
4 changed files with 13 additions and 8 deletions

2
zynk.h
View file

@ -22,7 +22,7 @@
#include <openssl/ssl.h>
#ifndef ZYNK_VERSION
#define ZYNK_VERSION "0.40.0"
#define ZYNK_VERSION "0.0.0"
#endif
#define VERSION ZYNK_VERSION