提交 9b3b0031 编写于 作者: B Ben S

Merge pull request #81 from rhysd/fix-32bit

Fix integer length error on 32bit environment
......@@ -582,7 +582,7 @@ impl<U> Table<U> where U: Users {
}
fn render_time(&self, timestamp: f::Time) -> Cell {
let date = self.tz.at(LocalDateTime::at(timestamp.0));
let date = self.tz.at(LocalDateTime::at(timestamp.0 as i64));
let format = if date.year() == self.current_year {
DateFormat::parse("{2>:D} {:M} {2>:h}:{02>:m}").unwrap()
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册