Browse Source

fix: use stderr on no timezone info

(exa PR) 981: Don't show an error on stdout when there is no timezone info
Christina Sørensen 2 years ago
parent
commit
f0a153f4ca
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/output/table.rs

+ 1 - 1
src/output/table.rs

@@ -346,7 +346,7 @@ impl Environment {
                 Some(t)
                 Some(t)
             }
             }
             Err(ref e) => {
             Err(ref e) => {
-                println!("Unable to determine time zone: {}", e);
+                eprintln!("Unable to determine time zone: {e}");
                 None
                 None
             }
             }
         };
         };