From 34d205b40b9adab0f10ad62bf08e6999fe339348 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 20 Jun 2015 14:41:18 +0000 Subject: MS_DB_TIME_* removed from pascal headers too git-svn-id: http://svn.miranda-ng.org/main/trunk@14289 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/QuickSearch/i_ok.inc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'plugins/QuickSearch/i_ok.inc') diff --git a/plugins/QuickSearch/i_ok.inc b/plugins/QuickSearch/i_ok.inc index 7ac8db8f70..51e756aacd 100644 --- a/plugins/QuickSearch/i_ok.inc +++ b/plugins/QuickSearch/i_ok.inc @@ -172,12 +172,8 @@ end; function TimeToStrW(data:dword):PWideChar; var strdatetime:array [0..63] of WideChar; - dbtts:TDBTIMETOSTRING; begin - dbtts.cbDest :=Length(strdatetime); - dbtts.szDest.w :=@strdatetime; - dbtts.szFormat.w:='d - t'; - CallService(MS_DB_TIME_TIMESTAMPTOSTRINGT,data,lparam(@dbtts)); + TimeZone_ToStringW(data, 'd - t', @strdatetime, Length(strdatetime)); StrDupW(result,strdatetime); end; -- cgit v1.2.3