diff options
author | George Hazan <george.hazan@gmail.com> | 2015-06-20 14:41:18 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2015-06-20 14:41:18 +0000 |
commit | 34d205b40b9adab0f10ad62bf08e6999fe339348 (patch) | |
tree | 08c035d6ac90e3e78a1e4411bdfe414b88a65f5d /plugins/HistoryPlusPlus | |
parent | 04f4e2acfbc82946ca3def654214c08071a87359 (diff) |
MS_DB_TIME_* removed from pascal headers too
git-svn-id: http://svn.miranda-ng.org/main/trunk@14289 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/HistoryPlusPlus')
-rw-r--r-- | plugins/HistoryPlusPlus/hpp_events.pas | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/HistoryPlusPlus/hpp_events.pas b/plugins/HistoryPlusPlus/hpp_events.pas index 401822797d..848008a37e 100644 --- a/plugins/HistoryPlusPlus/hpp_events.pas +++ b/plugins/HistoryPlusPlus/hpp_events.pas @@ -236,8 +236,7 @@ const // Miranda timestamp to TDateTime
function TimestampToDateTime(const Timestamp: DWord): TDateTime;
begin
- Result := UnixTimeStart +
- CallService(MS_DB_TIME_TIMESTAMPTOLOCAL,WPARAM(Timestamp),0) / SecondsPerDay;
+ Result := UnixTimeStart + TimeZone_ToLocal(Timestamp) / SecondsPerDay;
end;
// should probably add function param to use
|