diff options
author | Richard Linden <none@none> | 2012-01-12 12:54:46 -0800 |
---|---|---|
committer | Richard Linden <none@none> | 2012-01-12 12:54:46 -0800 |
commit | 26829e6fa2de6e59f46ba340ca7ad6c430728470 (patch) | |
tree | 6f33024f248c9128795697a5d00217a51fec19c6 /indra/llui | |
parent | 37c68057c92f5a21a3d21b4ac01690a1cf4cf8e4 (diff) | |
parent | 757a955bd700eb4f838762dcbe789a77ee052064 (diff) |
Automated merge with ssh://hg.lindenlab.com/richard/viewer-experience/
Diffstat (limited to 'indra/llui')
-rw-r--r-- | indra/llui/llscrolllistcell.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/indra/llui/llscrolllistcell.cpp b/indra/llui/llscrolllistcell.cpp index 786e18b187..9d25c7180d 100644 --- a/indra/llui/llscrolllistcell.cpp +++ b/indra/llui/llscrolllistcell.cpp @@ -29,8 +29,6 @@ #include "llscrolllistcell.h" -#include "lltrans.h" - #include "llcheckboxctrl.h" #include "llui.h" // LLUIImage #include "lluictrlfactory.h" @@ -430,13 +428,7 @@ LLScrollListDate::LLScrollListDate( const LLScrollListCell::Params& p) void LLScrollListDate::setValue(const LLSD& value) { mDate = value.asDate(); - - std::string date_str = LLTrans::getString("ScrollListCellDateFormat"); - LLSD substitution; - substitution["datetime"] = mDate.secondsSinceEpoch(); - LLStringUtil::format(date_str, substitution); - - LLScrollListText::setValue(date_str); + LLScrollListText::setValue(mDate.asRFC1123()); } const LLSD LLScrollListDate::getValue() const |