mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-27 13:59:08 +00:00
Fix some checkmate bad schemas
This commit is contained in:
parent
fcd733e1df
commit
b3ccc905a4
7 changed files with 125 additions and 157 deletions
|
@ -40,7 +40,7 @@ macro_rules! dump_checkmate {
|
|||
}
|
||||
|
||||
pub fn dump_checkmate(collector: &Collector) {
|
||||
let timestamp = chrono::Utc::now().format("%Y%m%d_%H%M%S");
|
||||
let timestamp = chrono::Local::now().format("%Y%m%d_%H-%M-%S");
|
||||
let filename = format!("checkmate_{timestamp}.json");
|
||||
let fi = std::fs::File::create(&filename).unwrap();
|
||||
collector.write(fi).unwrap();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue