depend on proxmox 0.3.5

This commit is contained in:
Dietmar Maurer
2020-09-04 08:11:53 +02:00
parent ecd55041a2
commit cd6ddb5a69
3 changed files with 6 additions and 6 deletions

View File

@ -50,7 +50,7 @@ impl TmEditor {
pub fn into_epoch(mut self) -> Result<i64, Error> {
self.t.tm_year -= 1900;
let epoch = if self.utc { timegm(self.t)? } else { timelocal(self.t)? };
let epoch = if self.utc { timegm(&mut self.t)? } else { timelocal(&mut self.t)? };
Ok(epoch)
}