Skip to content

Commit

Permalink
chore(deps): Bump chrono-tz from 0.8.3 to 0.9.0 (#16168)
Browse files Browse the repository at this point in the history
Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Xiangjin <[email protected]>
  • Loading branch information
dependabot[bot] and xiangjinwu authored Apr 24, 2024
1 parent 0badff6 commit ce3b2e4
Show file tree
Hide file tree
Showing 4 changed files with 33 additions and 10 deletions.
38 changes: 30 additions & 8 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion src/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ chrono = { version = "0.4", default-features = false, features = [
"clock",
"std",
] }
chrono-tz = { version = "0.8", features = ["case-insensitive"] }
chrono-tz = { version = "0.9", features = ["case-insensitive"] }
clap = { workspace = true }
comfy-table = "7"
crc32fast = "1"
Expand Down
1 change: 1 addition & 0 deletions src/common/src/types/timestamptz.rs
Original file line number Diff line number Diff line change
Expand Up @@ -130,6 +130,7 @@ impl Timestamptz {

pub fn lookup_time_zone(time_zone: &str) -> std::result::Result<Tz, String> {
Tz::from_str_insensitive(time_zone)
.map_err(|_| format!("'{time_zone}' is not a valid timezone"))
}

pub fn from_protobuf(timestamp_micros: i64) -> ArrayResult<Self> {
Expand Down
2 changes: 1 addition & 1 deletion src/expr/impl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ chrono = { version = "0.4", default-features = false, features = [
"clock",
"std",
] }
chrono-tz = { version = "0.8", features = ["case-insensitive"] }
chrono-tz = { version = "0.9", features = ["case-insensitive"] }
fancy-regex = "0.13"
futures-async-stream = { workspace = true }
futures-util = "0.3"
Expand Down

0 comments on commit ce3b2e4

Please sign in to comment.