13
0

Fix ISO compliance

This commit is contained in:
Robin Gareus 2020-01-18 19:09:36 +01:00
parent d7801ab7ee
commit 61e53e303b
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04

View File

@ -648,7 +648,7 @@ UI::display_message (const char *prefix, gint /*prefix_len*/, RefPtr<TextBuffer:
time_t n = time (NULL); time_t n = time (NULL);
struct tm local_time; struct tm local_time;
localtime_r (&n, &local_time); localtime_r (&n, &local_time);
strftime (timebuf, sizeof(timebuf), "%FT%H.%M.%S ", &local_time); strftime (timebuf, sizeof(timebuf), "%FT%H:%M:%S ", &local_time);
buffer->insert_with_tag(buffer->end(), timebuf, ptag); buffer->insert_with_tag(buffer->end(), timebuf, ptag);
buffer->insert_with_tag(buffer->end(), prefix, ptag); buffer->insert_with_tag(buffer->end(), prefix, ptag);