summaryrefslogtreecommitdiff
path: root/plugins/WebView
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/WebView')
-rw-r--r--plugins/WebView/src/webview_alerts.cpp2
-rw-r--r--plugins/WebView/src/webview_getdata.cpp2
2 files changed, 0 insertions, 4 deletions
diff --git a/plugins/WebView/src/webview_alerts.cpp b/plugins/WebView/src/webview_alerts.cpp
index e583c4ed4e..8592a9ac9c 100644
--- a/plugins/WebView/src/webview_alerts.cpp
+++ b/plugins/WebView/src/webview_alerts.cpp
@@ -234,8 +234,6 @@ void SaveToFile(MCONTACT hContact, char *truncated)
char timestring[128], timeprefix[32];
char temptime1[32], temptime2[32];
- setlocale(LC_ALL, "");
-
time_t ftime = time(NULL);
struct tm *nTime = localtime(&ftime);
diff --git a/plugins/WebView/src/webview_getdata.cpp b/plugins/WebView/src/webview_getdata.cpp
index 3b5fe09db2..c53d01f15d 100644
--- a/plugins/WebView/src/webview_getdata.cpp
+++ b/plugins/WebView/src/webview_getdata.cpp
@@ -274,8 +274,6 @@ void GetData(void *param)
time_t ftime;
struct tm *nTime;
- setlocale(LC_ALL, "");
-
if (!db_get_s(hContact, MODULENAME, PRESERVE_NAME_KEY, &dbv)) {
memset(&temptime, 0, sizeof(temptime));
memset(&tstr, 0, sizeof(tstr));