From 3d30ed65f9e226b7b183b23ce5dba435ec491f0b Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 10 Jan 2025 18:28:28 +0300 Subject: DBEVENTINFO::timestamp to become 64-bit integer --- plugins/NewEventNotify/src/popup.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins/NewEventNotify/src/popup.cpp') diff --git a/plugins/NewEventNotify/src/popup.cpp b/plugins/NewEventNotify/src/popup.cpp index a33b7f5f4c..dc8e7d0502 100644 --- a/plugins/NewEventNotify/src/popup.cpp +++ b/plugins/NewEventNotify/src/popup.cpp @@ -444,7 +444,7 @@ int PopupUpdate(PLUGIN_DATA &pdata, MEVENT hEvent) wszFormat.Append(L"%H:%M"); if (!wszFormat.IsEmpty()) { wchar_t timestamp[MAX_DATASIZE]; - time_t localTime = dbe.timestamp; + time_t localTime = dbe.getUnixtime(); wcsftime(timestamp, _countof(timestamp), wszFormat, localtime(&localTime)); wszText.AppendFormat(L"[b][i]%s[/i][/b]\n", timestamp); } -- cgit v1.2.3