]> Sergey Matveev's repositories - public-inbox.git/commit
thread: common sorting code
authorEric Wong <e@80x24.org>
Sat, 15 Aug 2015 23:41:21 +0000 (23:41 +0000)
committerEric Wong <e@80x24.org>
Sat, 15 Aug 2015 23:45:33 +0000 (23:45 +0000)
commitf79d00b03dfa4f3f3c13bee4654d243c1d2fcd97
treee618b78931df2d7783e5f3c356fd9ffc5d5fac08
parent226657eb31e326cc8329229e8ba0f63ff4c75083
thread: common sorting code

We'll be sharing the same threading, so it makes sense to sort
replies using the same code and message headers without repeating
ourselves.

This also standardizes on sorting on X-PI-TS (Unix epoch in seconds)
instead over using X-PI-Date differently in two different places
lib/PublicInbox/Feed.pm
lib/PublicInbox/Thread.pm
lib/PublicInbox/View.pm