From d3e2da1821c0ed2f0bedca13312371fd43786d83 Mon Sep 17 00:00:00 2001 From: Steve Date: Tue, 26 Apr 2016 08:17:05 +0100 Subject: [PATCH] Use 12-hour clock --- src/system/util.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/system/util.c b/src/system/util.c index b9314da..948570e 100644 --- a/src/system/util.c +++ b/src/system/util.c @@ -136,7 +136,7 @@ char *timeToDate(long millis) timeinfo = localtime(&millis); - strftime(DATE, MAX_NAME_LENGTH, "%d %b %Y, %H:%M", timeinfo); + strftime(DATE, MAX_NAME_LENGTH, "%d %b %Y, %I:%M%p", timeinfo); return DATE; }