summaryrefslogtreecommitdiff
path: root/indra/newview/llfloatertopobjects.cpp
diff options
context:
space:
mode:
authorJoshua Bell <josh@lindenlab.com>2011-04-01 09:24:41 -0700
committerJoshua Bell <josh@lindenlab.com>2011-04-01 09:24:41 -0700
commit6bee9532207cfabd1c6315ea00fa7703bc401d2c (patch)
treee9edfaa61e59201f6febe25b05ea5f29aebe5b7b /indra/newview/llfloatertopobjects.cpp
parente23eeb7ed20055e1a95ea87e0014ba141f4ab0bb (diff)
STORM-1130: Top Scripts: Date/time sorting is broken (sorts lexically)
Use LLScrollListCtrl's intrinsic support for date-typed columns.
Diffstat (limited to 'indra/newview/llfloatertopobjects.cpp')
-rw-r--r--indra/newview/llfloatertopobjects.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/indra/newview/llfloatertopobjects.cpp b/indra/newview/llfloatertopobjects.cpp
index 19f6038b56..87d048c15b 100644
--- a/indra/newview/llfloatertopobjects.cpp
+++ b/indra/newview/llfloatertopobjects.cpp
@@ -223,7 +223,8 @@ void LLFloaterTopObjects::handleReply(LLMessageSystem *msg, void** data)
columns[3]["value"] = llformat("<%0.1f,%0.1f,%0.1f>", location_x, location_y, location_z);
columns[3]["font"] = "SANSSERIF";
columns[4]["column"] = "time";
- columns[4]["value"] = formatted_time((time_t)time_stamp);
+ columns[4]["type"] = "date";
+ columns[4]["value"] = LLDate((time_t)time_stamp);
columns[4]["font"] = "SANSSERIF";
if (mCurrentMode == STAT_REPORT_TOP_SCRIPTS