summaryrefslogtreecommitdiff
path: root/plugins/YAMN/src/browser/mailbrowser.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/YAMN/src/browser/mailbrowser.cpp')
-rw-r--r--plugins/YAMN/src/browser/mailbrowser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/YAMN/src/browser/mailbrowser.cpp b/plugins/YAMN/src/browser/mailbrowser.cpp
index 590dc5a25b..5aeb0eda6c 100644
--- a/plugins/YAMN/src/browser/mailbrowser.cpp
+++ b/plugins/YAMN/src/browser/mailbrowser.cpp
@@ -1063,7 +1063,7 @@ ULONGLONG MimeDateToFileTime(char *datein)
char *day = 0, *month = 0, *year = 0, *time = 0, *shift = 0;
SYSTEMTIME st;
ULONGLONG res = 0;
- int wShiftSeconds = CallService(MS_DB_TIME_TIMESTAMPTOLOCAL, 0, 0);
+ int wShiftSeconds = TimeZone_ToLocal(0);
GetLocalTime(&st);
//datein = "Xxx, 1 Jan 2060 5:29:1 +0530 XXX";
//datein = "Xxx, 1 Jan 2060 05:29:10 ";