autocommit 2022-04-14 16:06:11 CEST
This commit is contained in:
parent
de199a740b
commit
35ddfbcbe3
14 changed files with 203 additions and 35 deletions
|
|
@ -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));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue