summaryrefslogtreecommitdiff
path: root/indra/newview/llpanelgrouproles.cpp
diff options
context:
space:
mode:
authorBaker Linden <baker@lindenlab.com>2014-05-09 15:41:35 -0700
committerBaker Linden <baker@lindenlab.com>2014-05-09 15:41:35 -0700
commit4fb9f5089751d8b2055e8623e21bc6b8994c3a19 (patch)
treecd9d02230324dab5d5f027acf446ee94132a3a94 /indra/newview/llpanelgrouproles.cpp
parent37bfd025aeef7292abb1708577eee80b6e1b91d5 (diff)
[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.
Diffstat (limited to 'indra/newview/llpanelgrouproles.cpp')
-rwxr-xr-xindra/newview/llpanelgrouproles.cpp17
1 files 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");