diff options
author | Baker Linden <baker@lindenlab.com> | 2014-05-09 15:41:35 -0700 |
---|---|---|
committer | Baker Linden <baker@lindenlab.com> | 2014-05-09 15:41:35 -0700 |
commit | 4fb9f5089751d8b2055e8623e21bc6b8994c3a19 (patch) | |
tree | cd9d02230324dab5d5f027acf446ee94132a3a94 /indra/newview/llpanelgrouproles.cpp | |
parent | 37bfd025aeef7292abb1708577eee80b6e1b91d5 (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-x | indra/newview/llpanelgrouproles.cpp | 17 |
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"); |