Subject: | query_time.t fails with timezones with spaces in them |
The patch makes the testsuite pass with timezones such as `MET DST' and similar.
Subject: | Net-Jabber-2.0-timezone.patch |
diff --git a/t/query_time.t b/t/query_time.t
index 8c4efbe..5b1a897 100644
--- a/t/query_time.t
+++ b/t/query_time.t
@@ -55,7 +55,7 @@ SKIP:
eval("use Time::Timezone 99.062401;");
skip "Time::Timezone not installed", 1 if $@;
- like( $query3->GetTZ(), qr/^\S+$/, "look like a timezone?" );
+ like( $query3->GetTZ(), qr/^\S+( \S+)?$/, "look like a timezone?" );
}