1
0
Эх сурвалжийг харах

Update test timezone to one we know exists

It wasn't the Arc unwrap causing the crash on Linux. Maybe it's this.
Ben S 10 жил өмнө
parent
commit
b3d252522a
1 өөрчлөгдсөн 1 нэмэгдсэн , 1 устгасан
  1. 1 1
      src/output/details.rs

+ 1 - 1
src/output/details.rs

@@ -739,7 +739,7 @@ pub mod test {
                 current_year: 1234,
                 numeric:      locale::Numeric::english(),
                 time:         locale::Time::english(),
-                tz:           TimeZone::system().unwrap(),
+                tz:           TimeZone::get("Europe/London").unwrap(),
                 users:        Mutex::new(MockUsers::with_current_uid(0)),
             }
         }