commit 8a6cda7137815e1cf3e4fc5414e483d9b2c3b6c5 parent f5a899914c2aafac9f7f06e41e89ed1a4de886a1 Author: mjkloeckner <martin.cachari@gmail.com> Date: Thu, 5 Jan 2023 02:16:17 -0300 add tzset() previous to localtime() call Diffstat:
M | stagit.c | | | 1 | + |
1 file changed, 1 insertion(+), 0 deletions(-) diff --git a/stagit.c b/stagit.c @@ -509,6 +509,7 @@ printtimeshort(FILE *fp, const git_time *intime) time_t t; char out[32]; + tzset(); t = (time_t)intime->time; if (!(intm = localtime(&t))) return;