diff options
author | Ben S <ogham@users.noreply.github.com> | 2015-10-02 00:54:37 +0100 |
---|---|---|
committer | Ben S <ogham@users.noreply.github.com> | 2015-10-02 00:54:37 +0100 |
commit | 9b3b00316f46338174920f813d93685aaf4d6c5d (patch) | |
tree | b5cf66400bff0521fac9e71b3986f7f36896ef06 | |
parent | 41fb02a02d8dac0c1576b0a63d6af3a3c112be6c (diff) | |
parent | 3dbc441c785b1242d41dc0f9553fed53545ecf8c (diff) |
Merge pull request #81 from rhysd/fix-32bit
Fix integer length error on 32bit environment
-rw-r--r-- | src/output/details.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/details.rs b/src/output/details.rs index 5778f90..991645f 100644 --- a/src/output/details.rs +++ b/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() |