commit 5c7155255cf5c1d248919acfac9834aba743848b
Author: FRIGN <[email protected]>
Date:   Sat Aug 9 22:33:11 2014 +0200

    Use gmtime() instead of localtime()
    
    %Z is a GNU extension, so we avoid it here by these means.
    
    Thanks Hiltjo!

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;
 }
 


Reply via email to