]> arthur.barton.de Git - netdata.git/commitdiff
fix for PR #299 that replaced : with a space
authorCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Mon, 25 Apr 2016 21:22:47 +0000 (00:22 +0300)
committerCosta Tsaousis (ktsaou) <costa@tsaousis.gr>
Mon, 25 Apr 2016 21:22:47 +0000 (00:22 +0300)
src/web_buffer.c

index b1735b529a5614f441cc82f6d167ff997248a815..03c473c3d242c7384bd307f9212d53c270332675 100644 (file)
@@ -264,10 +264,10 @@ void buffer_date(BUFFER *wb, int year, int month, int day, int hours, int minute
   *p++ = ' ';
   *p++ = '0' + hours / 10;
   *p++ = '0' + hours % 10;
-  *p++ = ' ';
+  *p++ = ':';
   *p++ = '0' + minutes / 10;
   *p++ = '0' + minutes % 10;
-  *p++ = ' ';
+  *p++ = ':';
   *p++ = '0' + seconds / 10;
   *p++ = '0' + seconds % 10;
   *p = '\0';