[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.
parent
37bfd025ae
commit
4fb9f50897
|
|
@ -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);
|
||||
// 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;
|
||||
//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");
|
||||
|
|
|
|||
Loading…
Reference in New Issue