Skip to content
Snippets Groups Projects
Commit 6bee9532 authored by Joshua Bell's avatar Joshua Bell
Browse files

STORM-1130: Top Scripts: Date/time sorting is broken (sorts lexically)

Use LLScrollListCtrl's intrinsic support for date-typed columns.
parent e23eeb7e
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment