diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-19 18:18:13 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-19 18:18:13 +0000 |
commit | bf37d6655a27cc3ea5af5412c9717596c9d1c30f (patch) | |
tree | 9a537b8cd5cd85b27b5a296f77a972a0ae0c3863 /plugins/YAMN | |
parent | d55f17dea8734cfb458fd8fcbac684d141b181af (diff) |
timezone api migrated to mir_core
git-svn-id: http://svn.miranda-ng.org/main/trunk@14266 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/YAMN')
-rw-r--r-- | plugins/YAMN/src/browser/mailbrowser.cpp | 2 | ||||
-rw-r--r-- | plugins/YAMN/src/yamn.h | 1 |
2 files changed, 2 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 "; diff --git a/plugins/YAMN/src/yamn.h b/plugins/YAMN/src/yamn.h index 29955fcc7c..11f8ae0569 100644 --- a/plugins/YAMN/src/yamn.h +++ b/plugins/YAMN/src/yamn.h @@ -22,6 +22,7 @@ #include <m_messages.h>
#include <m_netlib.h>
#include <m_hotkeys.h>
+#include <m_timezones.h>
#include <m_toptoolbar.h>
#include <m_kbdnotify.h>
|