hirc

IRC client
Log | Files | Refs

commit fd5b930e6e1b6b238b54d13b71bcf2edf0801ce6
parent 3301185d76996c942e9f8151737dc87a71d47ac6
Author: hhvn <dev@hhvn.uk>
Date:   Tue, 29 Mar 2022 15:40:42 +0100

Use localtime() rather than gmtime()

Diffstat:
Msrc/ui.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ui.c b/src/ui.c @@ -1736,7 +1736,7 @@ outcont: pn = strtoll(ret, NULL, 10); p = struntil(format+2+strlen("time:"), ','); - rc += strftime(&save[rc], rs - rc, p, gmtime((time_t *)&pn)); + rc += strftime(&save[rc], rs - rc, p, localtime((time_t *)&pn)); format = strchr(format+2+strlen("time:"), ',') + strlen(content) + 2; pfree(&ret);