From d04b715a5d999e4744b828083aa5905e04dc9299 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Fri, 17 Aug 2018 18:44:12 +0300 Subject: export/import with human readable timestamps according to #1490 --- plugins/Msg_Export/src/utils.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'plugins/Msg_Export/src') diff --git a/plugins/Msg_Export/src/utils.cpp b/plugins/Msg_Export/src/utils.cpp index ddafc4b599..081ad6e86a 100755 --- a/plugins/Msg_Export/src/utils.cpp +++ b/plugins/Msg_Export/src/utils.cpp @@ -811,7 +811,9 @@ static bool ExportDBEventInfo(MCONTACT hContact, HANDLE hFile, wstring sFilePath if (g_bUseJson) { JSONNode pRoot; pRoot.push_back(JSONNode("type", dbei.eventType)); - pRoot.push_back(JSONNode("timeStamp", dbei.timestamp)); + + TimeZone_PrintTimeStamp(0, dbei.timestamp, L"I", szTemp, _countof(szTemp), 0); + pRoot.push_back(JSONNode("isotime", T2Utf(szTemp).get())); std::string flags; if (dbei.flags & DBEF_SENT) -- cgit v1.2.3