From f73caef7a5c2ffa6761e85ffe8df0477729357f1 Mon Sep 17 00:00:00 2001 From: Inusaito Sayori Date: Mon, 16 Sep 2013 14:31:58 -0400 Subject: [PATCH] Fix log timestamp inconsistency when including seconds --- indra/newview/lllogchat.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/lllogchat.cpp b/indra/newview/lllogchat.cpp index ba734f7bd..300fe4bdd 100644 --- a/indra/newview/lllogchat.cpp +++ b/indra/newview/lllogchat.cpp @@ -92,7 +92,7 @@ std::string LLLogChat::timestamp(bool withdate) std::string text; if (withdate) if (withseconds) - text = llformat("[%d-%02d-%02d %02d:%02d:%02d] ", (timep->tm_year-100)+2000, timep->tm_mon+1, timep->tm_mday, timep->tm_hour, timep->tm_min, timep->tm_sec); + text = llformat("[%d/%02d/%02d %02d:%02d:%02d] ", (timep->tm_year-100)+2000, timep->tm_mon+1, timep->tm_mday, timep->tm_hour, timep->tm_min, timep->tm_sec); else text = llformat("[%d/%02d/%02d %02d:%02d] ", (timep->tm_year-100)+2000, timep->tm_mon+1, timep->tm_mday, timep->tm_hour, timep->tm_min); else