From 5c7155255cf5c1d248919acfac9834aba743848b Mon Sep 17 00:00:00 2001 From: FRIGN Date: Sat, 9 Aug 2014 22:33:11 +0200 Subject: [PATCH] Use gmtime() instead of localtime() %Z is a GNU extension, so we avoid it here by these means. Thanks Hiltjo! --- quark.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/quark.c b/quark.c index db036b5..b6e7578 100644 --- a/quark.c +++ b/quark.c @@ -478,7 +478,7 @@ tstamp(void) { static char res[30]; time_t t = time(NULL); - strftime(res, sizeof res, "%a, %d %b %Y %H:%M:%S %Z", localtime(&t)); + strftime(res, sizeof res, "%a, %d %b %Y %H:%M:%S GMT", gmtime(&t)); return res; }