Introduction
Introduction Statistics Contact Development Disclaimer Help
tChange time/date format - spoon - dwm status utility (2f30 fork)
git clone git://src.adamsgaard.dk/spoon
Log
Files
Refs
LICENSE
---
commit 30aa5ecceb75531e6b68960b5d14a7d332dced2e
parent 7d36e6b416d0e51618a4544d8d67321457a60da6
Author: lostd <[email protected]>
Date: Sat, 14 May 2016 19:15:00 +0100
Change time/date format
Diffstat:
M spoon.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/spoon.c b/spoon.c
t@@ -82,7 +82,7 @@ dateread(char *buf, size_t len)
now = localtime(&t);
if (now == NULL)
return -1;
- strftime(buf, len, "%c", now);
+ strftime(buf, len, "%a %d %b %Y %H:%M %Z", now);
return 0;
}
You are viewing proxied material from mx1.adamsgaard.dk. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.