diff options
author | Erik Kundiman <erik@megapahit.org> | 2024-11-04 21:47:36 +0800 |
---|---|---|
committer | Erik Kundiman <erik@megapahit.org> | 2024-11-04 21:47:43 +0800 |
commit | d0232c0008ea81b147ca7505ebffbdf6b9a1a309 (patch) | |
tree | 770a5bff273c4f2caa06b5eeee7c4416f10401ce /indra | |
parent | 47c33b4bd2acae02b0fc3a1dc68148e84962dae4 (diff) |
Add seconds to compact view timestamps
https://megapahit.com/show_bug.cgi?id=81
Without the date, though.
Diffstat (limited to 'indra')
-rw-r--r-- | indra/newview/llfloaterimsessiontab.cpp | 3 | ||||
-rw-r--r-- | indra/newview/skins/default/xui/en/language_settings.xml | 1 |
2 files changed, 3 insertions, 1 deletions
diff --git a/indra/newview/llfloaterimsessiontab.cpp b/indra/newview/llfloaterimsessiontab.cpp index 2621ce576c..bdc7fdeadc 100644 --- a/indra/newview/llfloaterimsessiontab.cpp +++ b/indra/newview/llfloaterimsessiontab.cpp @@ -556,7 +556,8 @@ void LLFloaterIMSessionTab::deleteAllChildren() std::string LLFloaterIMSessionTab::appendTime() { std::string timeStr = "[" + LLTrans::getString("TimeHour") + "]:" - "[" + LLTrans::getString("TimeMin") + "]"; + "[" + LLTrans::getString("TimeMin") + "]:" + "[" + LLTrans::getString("TimeSec") + "]"; LLSD substitution; substitution["datetime"] = (S32)time_corrected(); diff --git a/indra/newview/skins/default/xui/en/language_settings.xml b/indra/newview/skins/default/xui/en/language_settings.xml index 24e58c9936..e76387da47 100644 --- a/indra/newview/skins/default/xui/en/language_settings.xml +++ b/indra/newview/skins/default/xui/en/language_settings.xml @@ -37,6 +37,7 @@ <string name="TimeHour">hour,datetime,slt</string> <string name="TimeMin">min,datetime,slt</string> + <string name="TimeSec">second,datetime,slt</string> <string name="TimeYear">year,datetime,slt</string> <string name="TimeDay">day,datetime,slt</string> <string name="TimeMonth">mthnum,datetime,slt</string> |