瀏覽代碼

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 年之前
父節點
當前提交
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)),
             }
         }