irclog: fix last date missing problem in index page

Signed-off-by: Boqun Feng <boqun.feng@gmail.com>