summaryrefslogtreecommitdiff
path: root/plugins/Msg_Export
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2018-08-17 18:44:12 +0300
committerGeorge Hazan <ghazan@miranda.im>2018-08-17 18:44:12 +0300
commitd04b715a5d999e4744b828083aa5905e04dc9299 (patch)
treeefa5c54528e4815c8fcd2342c0f9c39ac5056802 /plugins/Msg_Export
parente5381d4e4b8e5657d9e7a275e293f2a42f7d74d8 (diff)
export/import with human readable timestamps according to #1490
Diffstat (limited to 'plugins/Msg_Export')
-rwxr-xr-xplugins/Msg_Export/src/utils.cpp4
1 files changed, 3 insertions, 1 deletions
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)