Use system tzinfo instead of compiling it into the binary

This commit is contained in:
Joscha 2021-11-22 00:42:55 +01:00
parent 36aa6abcb9
commit d7df47eba4
6 changed files with 46 additions and 207 deletions

View file

@ -16,6 +16,6 @@ pub struct Opt {
fn main() -> anyhow::Result<()> {
let opt = Opt::from_args();
let files = Files::load(&opt.file)?;
println!("{:#?}", files);
println!("{}", files.now().format("%F %T %Z"));
Ok(())
}