Project

General

Profile

Actions

Bug #1714

closed

Некорректная обработка данных ответа "urn:xmpp:time"

Added by Mellon about 11 years ago. Updated almost 11 years ago.

Status:
Cant reproduce
Priority:
Normal
Assignee:
Category:
Plugins: Azoth
Target version:
-
Start date:
09/05/2014
Due date:
% Done:

100%

Estimated time:
Reported in:
master

Description

→→→→→→ [04:54:39.583] →→→→→→
  <iq type="get" id="qxmpp9965" to="anime-talks@conference.jabber.ru/Mayoi Hachikuji">
    <time xmlns="urn:xmpp:time"/>
  </iq>

←←←←←← [04:54:39.834] ←←←←←←
  <iq from="anime-talks@conference.jabber.ru/Mayoi Hachikuji" xml:lang="en" type="result" to="qmellon@jabber.ru/Azoth" id="qxmpp9965">
    <time xmlns="urn:xmpp:time">
      <tzo>+03:00</tzo>
      <utc>2014-09-05T00:54:31Z</utc>
    </time>
  </iq>

В чате отображается как:
 [04:54:39] * Время Mayoi Hachikuji :
Текущее время Mayoi Hachikuji :
Локальное время: 05 сент. 2014 г., 2:54:31
Временная зона: +03:00
Время UTC: 04 сент. 2014 г., 23:54:31

То есть время по UTC показывается на час меньше, чем оно есть в ответе.

STR:

Expected result:

Actual result:

System information:
LeechCraft 0.6.70-571-g07ba4dc
Built with Qt 4.8.5, running with Qt 4.8.5
Running on: Gentoo/Linux x86_64 3.14.17-gentoo #1 SMP PREEMPT Mon Sep 1 19:58:55 MSK 2014

Actions

Also available in: Atom PDF