Jelajahi Sumber

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 tahun lalu
induk
melakukan
b3d252522a
1 mengubah file dengan 1 tambahan dan 1 penghapusan
  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)),
             }
         }