From fb7457644c17ffe4c8ab0744c20849e0e2d2f41a Mon Sep 17 00:00:00 2001 From: tyranron Date: Fri, 10 Jan 2025 15:49:31 +0200 Subject: [PATCH] Update `jiff` crate from 0.1.16 to 0.1.19 version --- juniper/Cargo.toml | 4 ++-- juniper/src/integrations/jiff.rs | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/juniper/Cargo.toml b/juniper/Cargo.toml index ed8c786d6..0741bd9e0 100644 --- a/juniper/Cargo.toml +++ b/juniper/Cargo.toml @@ -53,7 +53,7 @@ fnv = "1.0.5" futures = { version = "0.3.22", features = ["alloc"], default-features = false } graphql-parser = { version = "0.4", optional = true } indexmap = { version = "2.0", features = ["serde"] } -jiff = { version = "0.1.16", features = ["std"], default-features = false, optional = true } +jiff = { version = "0.1.19", features = ["std"], default-features = false, optional = true } juniper_codegen = { version = "0.16.0", path = "../juniper_codegen" } rust_decimal = { version = "1.20", default-features = false, optional = true } ryu = { version = "1.0", optional = true } @@ -78,7 +78,7 @@ void = { version = "1.0.2", optional = true } [dev-dependencies] bencher = "0.1.2" chrono = { version = "0.4.30", features = ["alloc"], default-features = false } -jiff = { version = "0.1.16", features = ["tzdb-bundle-always"], default-features = false } +jiff = { version = "0.1.19", features = ["tzdb-bundle-always"], default-features = false } pretty_assertions = "1.0.0" serde_json = "1.0.18" serial_test = "3.0" diff --git a/juniper/src/integrations/jiff.rs b/juniper/src/integrations/jiff.rs index 0b75e6ca7..973de0d89 100644 --- a/juniper/src/integrations/jiff.rs +++ b/juniper/src/integrations/jiff.rs @@ -1280,9 +1280,9 @@ mod duration_test { .minutes(1) .seconds(1) .milliseconds(100), - graphql_input_value!("P1y1m1dT1h1m1.1s"), + graphql_input_value!("P1Y1M1DT1H1M1.1S"), ), - ((-5).days(), graphql_input_value!("-P5d")), + ((-5).days(), graphql_input_value!("-P5D")), ] { let actual: InputValue = val.to_input_value(); @@ -1674,7 +1674,7 @@ mod integration_test { "zonedDateTime": "2014-11-28T12:00:09.05-05:00[America/New_York]", "timeZone": "Asia/Tokyo", "utcOffset": "+10:00", - "duration": "P1y1m1dT1h1m1.1s", + "duration": "P1Y1M1DT1H1M1.1S", }), vec![], )),