Skip to content

Commit 9fda7ea

Browse files
authored
Bump chrono-tz from 0.8 to 0.9 (#5596)
1 parent e8c6d95 commit 9fda7ea

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

arrow-array/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ arrow-buffer = { workspace = true }
4545
arrow-schema = { workspace = true }
4646
arrow-data = { workspace = true }
4747
chrono = { workspace = true }
48-
chrono-tz = { version = "0.8", optional = true }
48+
chrono-tz = { version = "0.9", optional = true }
4949
num = { version = "0.4.1", default-features = false, features = ["std"] }
5050
half = { version = "2.1", default-features = false, features = ["num-traits"] }
5151
hashbrown = { version = "0.14", default-features = false }

arrow/tests/array_cast.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,7 @@ fn test_pretty_format_timestamp_second_with_incorrect_fixed_offset_timezone() {
579579
let err = format_timezone("08:00").unwrap_err().to_string();
580580
assert_eq!(
581581
err,
582-
"Parser error: Invalid timezone \"08:00\": '08:00' is not a valid timezone"
582+
"Parser error: Invalid timezone \"08:00\": failed to parse timezone"
583583
);
584584
}
585585

@@ -588,6 +588,6 @@ fn test_pretty_format_timestamp_second_with_unknown_timezone() {
588588
let err = format_timezone("unknown").unwrap_err().to_string();
589589
assert_eq!(
590590
err,
591-
"Parser error: Invalid timezone \"unknown\": 'unknown' is not a valid timezone"
591+
"Parser error: Invalid timezone \"unknown\": failed to parse timezone"
592592
);
593593
}

arrow/tests/timezone.rs

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,11 +54,11 @@ fn test_parse_timezone_invalid() {
5454
let cases = [
5555
(
5656
"2015-01-20T17:35:20-24:00",
57-
"Parser error: Invalid timezone \"-24:00\": '-24:00' is not a valid timezone",
57+
"Parser error: Invalid timezone \"-24:00\": failed to parse timezone",
5858
),
5959
(
6060
"2023-01-01 04:05:06.789 +07:30:00",
61-
"Parser error: Invalid timezone \"+07:30:00\": '+07:30:00' is not a valid timezone"
61+
"Parser error: Invalid timezone \"+07:30:00\": failed to parse timezone"
6262
),
6363
(
6464
// Sunday, 12 March 2023, 02:00:00 clocks are turned forward 1 hour to

0 commit comments

Comments
 (0)