diff options
author | MarcoPolo-PasTonMolo <marcopolopastonmolo@protonmail.com> | 2021-10-04 23:11:12 +0300 |
---|---|---|
committer | Michael Vetter <jubalh@iodoru.org> | 2021-10-05 09:56:24 +0200 |
commit | 97551aa1318fd294c38ceb4339c23a7f2a590915 (patch) | |
tree | 84439f51090f043c284aa8d2d302410f76e4aec9 /src/xmpp/connection.h | |
parent | 02e7cc029c910ed63500cd1ce9aa1621e44b2653 (diff) | |
download | profani-tty-97551aa1318fd294c38ceb4339c23a7f2a590915.tar.gz |
Fix history timestamp
Fixes https://github.com/profanity-im/profanity/issues/1423 Oldest stanza is fetched like before but now the timestamp is generated by creating date_time_from_iso8601 and then to_local, instead of trusting that the timestamp is in utc. The procedure previously was stamp = time_val_from_iso8601() then date_time = date_time_from_utc(stamp) then local_date_time = to_local(date_time)
Diffstat (limited to 'src/xmpp/connection.h')
0 files changed, 0 insertions, 0 deletions