]> git.proxmox.com Git - proxmox.git/commit
avoid chrono dependency, depend on proxmox 0.3.8
authorDietmar Maurer <dietmar@proxmox.com>
Sat, 12 Sep 2020 13:10:47 +0000 (15:10 +0200)
committerDietmar Maurer <dietmar@proxmox.com>
Tue, 15 Sep 2020 05:12:57 +0000 (07:12 +0200)
commitdc12cf44aa47912dd66461d5ef11dd84ea0df088
tree3dab4c68707927655a105f083ac660865b310aa0
parent28aef354caa7888cc739ca30779e46611afddf41
avoid chrono dependency, depend on proxmox 0.3.8

- remove chrono dependency

- depend on proxmox 0.3.8

- remove epoch_now, epoch_now_u64 and epoch_now_f64

- remove tm_editor (moved to proxmox crate)

- use new helpers from proxmox 0.3.8
  * epoch_i64 and epoch_f64
  * parse_rfc3339
  * epoch_to_rfc3339_utc
  * strftime_local

- BackupDir changes:
  * store epoch and rfc3339 string instead of DateTime
  * backup_time_to_string now return a Result
  * remove unnecessary TryFrom<(BackupGroup, i64)> for BackupDir

- DynamicIndexHeader: change ctime to i64

- FixedIndexHeader: change ctime to i64
src/tools/file_logger.rs