From 1ecea3293350fe7cbe754efdf4032e62fcbcd452 Mon Sep 17 00:00:00 2001 From: Inusaito Sayori Date: Sat, 22 Dec 2012 02:07:36 -0500 Subject: [PATCH] An hour is not a circle. --- indra/newview/llfloateravatarlist.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/indra/newview/llfloateravatarlist.cpp b/indra/newview/llfloateravatarlist.cpp index b5585e959..172383f69 100644 --- a/indra/newview/llfloateravatarlist.cpp +++ b/indra/newview/llfloateravatarlist.cpp @@ -1052,9 +1052,9 @@ void LLFloaterAvatarList::refreshAvatarList() element["columns"][LIST_AGE]["color"] = color.getValue(); int dur = difftime(time(NULL), entry.getTime()); - int hours = dur / 360; - int mins = (dur % 360) / 60; - int secs = (dur % 360) % 60; + int hours = dur / 3600; + int mins = (dur % 3600) / 60; + int secs = (dur % 3600) % 60; element["columns"][LIST_TIME]["column"] = "time"; element["columns"][LIST_TIME]["type"] = "text";