Mercurial > ~darius > hgwebdir.cgi > stm32temp
diff main.c @ 19:d078651f5353
Fix typo
author | Daniel O'Connor <darius@dons.net.au> |
---|---|
date | Wed, 14 Nov 2012 12:46:48 +1030 |
parents | db6011aa94d6 |
children | bd8e2cf04034 |
line wrap: on
line diff
--- a/main.c Wed Nov 14 12:30:58 2012 +1030 +++ b/main.c Wed Nov 14 12:46:48 2012 +1030 @@ -158,7 +158,7 @@ if (!strncmp("gc", cmd.buf, 2)) { now = time(NULL); gmtime_r(&now, &nowtm); - strftime(buf, sizeof(buf) - 1, "Time is %Y/%m/%d %H:%M:%S UTC", &nowtm); + strftime(buf, sizeof(buf) - 1, "%Y/%m/%d %H:%M:%S UTC", &nowtm); printf("Time is %s (%d)\r\n", buf, (int)now); } else if (!strncmp("sc ", cmd.buf, 3)) { struct timeval tv;