Browse Source

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

Fix integer length error on 32bit environment
Ben S 10 years ago
parent
commit
9b3b00316f
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/output/details.rs

+ 1 - 1
src/output/details.rs

@@ -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()