projects
/
public-inbox.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
497fd31
)
feed: remove unnecesary time paramenter in index state
author
Eric Wong <e@80x24.org>
Mon, 17 Aug 2015 02:41:09 +0000 (
02:41
+0000)
committer
Eric Wong <e@80x24.org>
Mon, 17 Aug 2015 03:13:29 +0000 (
03:13
+0000)
We no longer do "smart" time displays as of
commit
ea0e8649f90d1fd0850a41c0ca16642faadf4f14
("view: simplify timestamp generation").
In retrospect, that commit also made us more cache-friendly, too.
lib/PublicInbox/Feed.pm
patch
|
blob
|
history
diff --git
a/lib/PublicInbox/Feed.pm
b/lib/PublicInbox/Feed.pm
index b53255975a3f309be44059fcc6fc7ec4436d86c8..1a89fbad076b94e99d9dcc6517474e0a3a9e079d 100644
(file)
--- a/
lib/PublicInbox/Feed.pm
+++ b/
lib/PublicInbox/Feed.pm
@@
-76,7
+76,7
@@
sub generate_html_index {
$th->order(*PublicInbox::Thread::sort_ts);
# except we sort top-level messages reverse chronologically
- my $state = [
time
, {}, $first, 0 ];
+ my $state = [
undef
, {}, $first, 0 ];
for (PublicInbox::Thread::rsort_ts($th->rootset)) {
dump_msg($_, 0, \$html, $state)
}