Skip to content

Commit

Permalink
Bump chrono-tz from 0.8 to 0.9 (#5596)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jefffrey authored Apr 6, 2024
1 parent e8c6d95 commit 9fda7ea
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion arrow-array/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ arrow-buffer = { workspace = true }
arrow-schema = { workspace = true }
arrow-data = { workspace = true }
chrono = { workspace = true }
chrono-tz = { version = "0.8", optional = true }
chrono-tz = { version = "0.9", optional = true }
num = { version = "0.4.1", default-features = false, features = ["std"] }
half = { version = "2.1", default-features = false, features = ["num-traits"] }
hashbrown = { version = "0.14", default-features = false }
Expand Down
4 changes: 2 additions & 2 deletions arrow/tests/array_cast.rs
Original file line number Diff line number Diff line change
Expand Up @@ -579,7 +579,7 @@ fn test_pretty_format_timestamp_second_with_incorrect_fixed_offset_timezone() {
let err = format_timezone("08:00").unwrap_err().to_string();
assert_eq!(
err,
"Parser error: Invalid timezone \"08:00\": '08:00' is not a valid timezone"
"Parser error: Invalid timezone \"08:00\": failed to parse timezone"
);
}

Expand All @@ -588,6 +588,6 @@ fn test_pretty_format_timestamp_second_with_unknown_timezone() {
let err = format_timezone("unknown").unwrap_err().to_string();
assert_eq!(
err,
"Parser error: Invalid timezone \"unknown\": 'unknown' is not a valid timezone"
"Parser error: Invalid timezone \"unknown\": failed to parse timezone"
);
}
4 changes: 2 additions & 2 deletions arrow/tests/timezone.rs
Original file line number Diff line number Diff line change
Expand Up @@ -54,11 +54,11 @@ fn test_parse_timezone_invalid() {
let cases = [
(
"2015-01-20T17:35:20-24:00",
"Parser error: Invalid timezone \"-24:00\": '-24:00' is not a valid timezone",
"Parser error: Invalid timezone \"-24:00\": failed to parse timezone",
),
(
"2023-01-01 04:05:06.789 +07:30:00",
"Parser error: Invalid timezone \"+07:30:00\": '+07:30:00' is not a valid timezone"
"Parser error: Invalid timezone \"+07:30:00\": failed to parse timezone"
),
(
// Sunday, 12 March 2023, 02:00:00 clocks are turned forward 1 hour to
Expand Down

0 comments on commit 9fda7ea

Please sign in to comment.