hfaran / slack-export-viewer

A Slack Export archive viewer that allows you to easily view and share your Slack team's export
https://pypi.python.org/pypi/slack-export-viewer
MIT License
939 stars 194 forks source link

Wrong order of messages (descending) within the same day #88

Closed tjanez closed 3 years ago

tjanez commented 5 years ago

This is an excerpt from the original Slack client, where messages are ordered correctly (i.e. in ascending order): original-slack-correct-order-within-the-day

This is the same excerpt as rendered by slack-export-viewer, where messages are in wrong order (within the same day): slack-export-viewer-wrong-order-within-the-day

hfaran commented 5 years ago

What version of slack-export-viewer were you using?

On Sat, Dec 29, 2018, 1:46 PM Tadej Janež notifications@github.com wrote:

This is an excerpt from the original Slack client, where messages are ordered correctly (i.e. in ascending order): [image: original-slack-correct-order-within-the-day] https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F2518544%2F50542323-38b9c780-0bbb-11e9-958f-0bcab0c8e04d.png&data=02%7C01%7C%7C0fd38d2d7b4c4ea4790408d66dd7220e%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636817168083219345&sdata=RsGR0tSq1bx8docidirD%2FpiJ4Ig959VO1scm7J2IKuU%3D&reserved=0

This is the same excerpt as rendered by slack-export-viewer, where messages are in wrong order (within the same day): [image: slack-export-viewer-wrong-order-within-the-day] https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fuser-images.githubusercontent.com%2F2518544%2F50542332-6272ee80-0bbb-11e9-906b-eb1eea4a8b0f.png&data=02%7C01%7C%7C0fd38d2d7b4c4ea4790408d66dd7220e%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636817168083219345&sdata=Kyd8sXvLqhi6VbHkjS5m1Jd4Kob2hotffWdzyJfhJm8%3D&reserved=0

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fhfaran%2Fslack-export-viewer%2Fissues%2F88&data=02%7C01%7C%7C0fd38d2d7b4c4ea4790408d66dd7220e%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636817168083219345&sdata=5pkbAo8OcNzm7JG9Y4BQCqKEd44EIQ4uAaQ%2F%2Foz%2FE1c%3D&reserved=0, or mute the thread https://nam05.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FACVkQCXKXaEdKFNL-nHr5moyEvgO4-Tjks5u9-LHgaJpZM4ZkuNY&data=02%7C01%7C%7C0fd38d2d7b4c4ea4790408d66dd7220e%7C84df9e7fe9f640afb435aaaaaaaaaaaa%7C1%7C0%7C636817168083219345&sdata=35s8nUVEY6TttaGdaFL34yA%2FA6OdpOYLGWjAQ%2BqWZWE%3D&reserved=0 .

tjanez commented 5 years ago

What version of slack-export-viewer were you using?

Version 0.8.2 installed from PyPI.

bblising commented 5 years ago

Looks like you need to sort entries in each json file

tjanez commented 3 years ago

This has been fixed in #106.