summaryrefslogtreecommitdiff
path: root/indra/llui/llscrolllistcell.cpp
diff options
context:
space:
mode:
authorLeslie Linden <leslie@lindenlab.com>2012-01-09 09:56:52 -0800
committerLeslie Linden <leslie@lindenlab.com>2012-01-09 09:56:52 -0800
commit1422be8312fcf19cbeecda8c109ea1e7b11eaa49 (patch)
tree7d78e1590126e849750755ab73f09edf8de9bc17 /indra/llui/llscrolllistcell.cpp
parentc98bf3cd509dd7bf10837713a911f9932c476e1f (diff)
parent3dfb1536fa3bb85f6648a76591e80c3feea9eb83 (diff)
Merge from viewer-development
Diffstat (limited to 'indra/llui/llscrolllistcell.cpp')
-rw-r--r--indra/llui/llscrolllistcell.cpp10
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