backup info and read
This commit is contained in:
@@ -216,16 +216,7 @@ fn safe_main() -> anyhow::Result<()> {
|
||||
|
||||
//check if we know the time current > 2020
|
||||
if cur.year() < 2020 {
|
||||
println!("Running time estimation super fallback");
|
||||
if board.is_day() {
|
||||
//assume TZ safe times ;)
|
||||
|
||||
println!("Is day -> 15:00");
|
||||
cur = *cur.with_hour(15).get_or_insert(cur);
|
||||
} else {
|
||||
println!("Is night -> 3:00");
|
||||
cur = *cur.with_hour(3).get_or_insert(cur);
|
||||
}
|
||||
to_config = true;
|
||||
}
|
||||
|
||||
println!("cur is {}", cur);
|
||||
|
||||
Reference in New Issue
Block a user