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
2
zynk.h
2
zynk.h
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue