From 4fb9f5089751d8b2055e8623e21bc6b8994c3a19 Mon Sep 17 00:00:00 2001 From: Baker Linden <baker@lindenlab.com> Date: Fri, 9 May 2014 15:41:35 -0700 Subject: [MAINT-3424] - Display dates in SLT, rather than UTC - Attempted fix, I'm close but didn't want to outright remove everything, so for now it's commented in. --- indra/newview/llpanelgrouproles.cpp | 17 +++++++++-------- 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/indra/newview/llpanelgrouproles.cpp b/indra/newview/llpanelgrouproles.cpp index 2dc38f8479..2baad1a5ff 100755 --- a/indra/newview/llpanelgrouproles.cpp +++ b/indra/newview/llpanelgrouproles.cpp @@ -3039,17 +3039,18 @@ void LLPanelGroupBanListSubTab::populateBanList() ban_entry.columns.add().column("name").font.name("SANSSERIF_SMALL").style("NORMAL"); + // Baker TODO: MAINT- // Check out utc_to_pacific_time() std::string ban_date_str = bd.mBanDate.toHTTPDateString("%Y/%m/%d"); - time_t utc_time; - utc_time = time_corrected(); - LLSD substitution; - substitution["datetime"] = (S32) utc_time; - LLStringUtil::format (ban_date_str, substitution); - - LL_INFOS("BAKER") << "[BAKER] BAN_DATE: " << bd.mBanDate.toHTTPDateString("%Y/%m/%d") << LL_ENDL; - LL_INFOS("BAKER") << "[BAKER] BAN_DATE_MODIFIED: " << ban_date_str << LL_ENDL; +// time_t utc_time; +// utc_time = time_corrected(); +// LLSD substitution; +// substitution["datetime"] = (S32) utc_time; +// LLStringUtil::format (ban_date_str, substitution); + + //LL_INFOS("BAKER") << "[BAKER] BAN_DATE: " << bd.mBanDate.toHTTPDateString("%Y/%m/%d") << LL_ENDL; + //LL_INFOS("BAKER") << "[BAKER] BAN_DATE_MODIFIED: " << ban_date_str << LL_ENDL; //ban_entry.columns.add().column("ban_date").value(ban_date_str.font.name("SANSSERIF_SMALL").style("NORMAL"); ban_entry.columns.add().column("ban_date").value(bd.mBanDate.toHTTPDateString("%Y/%m/%d")).font.name("SANSSERIF_SMALL").style("NORMAL"); -- cgit v1.2.3