diff options
author | merov <none@none> | 2012-01-13 15:13:13 -0800 |
---|---|---|
committer | merov <none@none> | 2012-01-13 15:13:13 -0800 |
commit | 6051ac65d62c364e3d797a841d675e20f4182e63 (patch) | |
tree | 945883571ae7f12689233fccfd4bd09ead7d9f05 /indra/llui/llscrolllistcell.cpp | |
parent | 86ef722e7cb2e4c791e8223f5c09a0552b52b574 (diff) | |
parent | 86009704769a79768eb02f459b1b99ea060e5fc1 (diff) |
Pull from viewer-experience
Diffstat (limited to 'indra/llui/llscrolllistcell.cpp')
-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 |