aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/newview/llpaneldirevents.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/newview/llpaneldirevents.cpp')
-rw-r--r--linden/indra/newview/llpaneldirevents.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/linden/indra/newview/llpaneldirevents.cpp b/linden/indra/newview/llpaneldirevents.cpp
index 0d1e0e3..81e5a38 100644
--- a/linden/indra/newview/llpaneldirevents.cpp
+++ b/linden/indra/newview/llpaneldirevents.cpp
@@ -136,7 +136,7 @@ void LLPanelDirEvents::setDay(S32 day)
136 // it's daylight savings time there. 136 // it's daylight savings time there.
137 internal_time = utc_to_pacific_time(utc_time, gPacificDaylightTime); 137 internal_time = utc_to_pacific_time(utc_time, gPacificDaylightTime);
138 138
139 LLString buffer = llformat("%d/%d", 139 std::string buffer = llformat("%d/%d",
140 1 + internal_time->tm_mon, // Jan = 0 140 1 + internal_time->tm_mon, // Jan = 0
141 internal_time->tm_mday); // 2001 = 101 141 internal_time->tm_mday); // 2001 = 101
142 childSetValue("date_text", buffer); 142 childSetValue("date_text", buffer);
@@ -168,7 +168,7 @@ void LLPanelDirEvents::performQueryOrDelete(U32 event_id)
168 // it's daylight savings time there. 168 // it's daylight savings time there.
169 internal_time = utc_to_pacific_time(utc_time, gPacificDaylightTime); 169 internal_time = utc_to_pacific_time(utc_time, gPacificDaylightTime);
170 170
171 LLString buffer = llformat("%d/%d", 171 std::string buffer = llformat("%d/%d",
172 1 + internal_time->tm_mon, // Jan = 0 172 1 + internal_time->tm_mon, // Jan = 0
173 internal_time->tm_mday); // 2001 = 101 173 internal_time->tm_mday); // 2001 = 101
174 childSetValue("date_text", buffer); 174 childSetValue("date_text", buffer);
@@ -207,7 +207,7 @@ void LLPanelDirEvents::performQueryOrDelete(U32 event_id)
207 // send the message 207 // send the message
208 if (0 == event_id) 208 if (0 == event_id)
209 { 209 {
210 sendDirFindQuery(gMessageSystem, mSearchID, params.str().c_str(), scope, mSearchStart); 210 sendDirFindQuery(gMessageSystem, mSearchID, params.str(), scope, mSearchStart);
211 } 211 }
212 else 212 else
213 { 213 {