summaryrefslogtreecommitdiff
path: root/protocols/SkypeWeb/src/skype_messages.cpp
diff options
context:
space:
mode:
authorMikalaiR <nikolay.romanovich@narod.ru>2015-04-11 11:24:56 +0000
committerMikalaiR <nikolay.romanovich@narod.ru>2015-04-11 11:24:56 +0000
commitb47d3f2a1fae41ac9c7438f4903692e417020db6 (patch)
tree4f552f81dec22f41fa4dbc810c27c00d7296f6cd /protocols/SkypeWeb/src/skype_messages.cpp
parent4451fe1381e185036a7037b3a0cda50de5b9d9b3 (diff)
SkypeWeb: Added UseLocalTime setting (please, test it).
git-svn-id: http://svn.miranda-ng.org/main/trunk@12763 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/SkypeWeb/src/skype_messages.cpp')
-rw-r--r--protocols/SkypeWeb/src/skype_messages.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/SkypeWeb/src/skype_messages.cpp b/protocols/SkypeWeb/src/skype_messages.cpp
index 15b9f1501e..bc9431da38 100644
--- a/protocols/SkypeWeb/src/skype_messages.cpp
+++ b/protocols/SkypeWeb/src/skype_messages.cpp
@@ -194,7 +194,7 @@ void CSkypeProto::OnPrivateMessageEvent(JSONNODE *node)
//ptrA skypeEditedId(mir_t2a(ptrT(json_as_string(json_get(node, "skypeeditedid")))));
ptrT composeTime(json_as_string(json_get(node, "composetime")));
- time_t timestamp = IsoToUnixTime(composeTime);
+ time_t timestamp = getByte("UseLocalTime", 0) ? time(NULL) : IsoToUnixTime(composeTime);
ptrA from(mir_t2a(ptrT(json_as_string(json_get(node, "from")))));
ptrA skypename(ContactUrlToName(from));