mirror of
https://github.com/Llewellynvdm/exa.git
synced 2025-02-05 12:08:24 +00:00
Merge pull request #81 from rhysd/fix-32bit
Fix integer length error on 32bit environment
This commit is contained in:
commit
9b3b00316f
@ -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()
|
||||
|
Loading…
x
Reference in New Issue
Block a user