Format files properly again

I forgot to include the includes and time zone commands
This commit is contained in:
Joscha 2021-11-22 10:20:17 +00:00
parent d7df47eba4
commit 2c7aa78d08
5 changed files with 72 additions and 23 deletions

View file

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