diff --git a/indra/newview/app_settings/settings.xml b/indra/newview/app_settings/settings.xml index b2f233f70..d268b43e6 100644 --- a/indra/newview/app_settings/settings.xml +++ b/indra/newview/app_settings/settings.xml @@ -674,10 +674,21 @@ Value 0 + LiruGroupNoticeTimes + + Comment + Append timestamp to date in the lists of past group notices + Persist + 1 + Type + Boolean + Value + 0 + LiruItalicizeActions Comment - When enabled, /me chat will be italicized. + When enabled, /me chat will be italicized. Persist 1 Type diff --git a/indra/newview/llpanelgroupnotices.cpp b/indra/newview/llpanelgroupnotices.cpp index 87e237369..001a1179a 100644 --- a/indra/newview/llpanelgroupnotices.cpp +++ b/indra/newview/llpanelgroupnotices.cpp @@ -477,7 +477,10 @@ void LLPanelGroupNotices::processNotices(LLMessageSystem* msg) row["columns"][2]["value"] = name; std::string buffer; - timeToFormattedString(t, gSavedSettings.getString("ShortDateFormat"), buffer); + std::string format(gSavedSettings.getString("ShortDateFormat")); + if (gSavedSettings.getBOOL("LiruGroupNoticeTimes")) + format += " " + gSavedSettings.getString("ShortTimeFormat"); + timeToFormattedString(t, format, buffer); row["columns"][3]["column"] = "date"; row["columns"][3]["value"] = buffer;