1
0
Fork 0
forked from wry/wry

autocommit 2022-04-14 16:06:11 CEST

This commit is contained in:
Julian Orth 2022-04-14 16:06:11 +02:00
parent de199a740b
commit 35ddfbcbe3
14 changed files with 203 additions and 35 deletions

View file

@ -60,7 +60,7 @@ async fn run(screenshot: Rc<Screenshot>) {
.args
.filename
.as_deref()
.unwrap_or("jay-%Y-%m-%d-%H:%M:%S.qoi");
.unwrap_or("%Y-%m-%d-%H%M%S_jay.qoi");
let filename = Local::now().format(filename).to_string();
if let Err(e) = std::fs::write(&filename, &data) {
fatal!("Could not write `{}`: {}", filename, ErrorFmt(e));