From 04cb09be2a059cfe609b0ea4d49abf58d59d1c01 Mon Sep 17 00:00:00 2001 From: meteorgan Date: Mon, 14 Apr 2025 20:57:54 +0800 Subject: [PATCH] Bump julian_day_converter to 0.4.5 --- Cargo.lock | 4 ++-- core/Cargo.toml | 2 +- testing/scalar-functions-datetime.test | 4 ++++ 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 410bf6e3..bbd4f15c 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1540,9 +1540,9 @@ dependencies = [ [[package]] name = "julian_day_converter" -version = "0.4.4" +version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1aa5652b85ab018289638c6b924db618da9edd2ddfff7fa0ec38a8b51a9192d3" +checksum = "f2987f71b89b85c812c8484cbf0c5d7912589e77bfdc66fd3e52f760e7859f16" dependencies = [ "chrono", ] diff --git a/core/Cargo.toml b/core/Cargo.toml index a790a0ca..eb5d092b 100644 --- a/core/Cargo.toml +++ b/core/Cargo.toml @@ -53,7 +53,7 @@ regex-syntax = { version = "0.8.5", default-features = false, features = [ "unicode", ] } chrono = { version = "0.4.38", default-features = false, features = ["clock"] } -julian_day_converter = "0.4.4" +julian_day_converter = "0.4.5" rand = "0.8.5" libm = "0.2" limbo_macros = { workspace = true } diff --git a/testing/scalar-functions-datetime.test b/testing/scalar-functions-datetime.test index 3c2f7b77..33caf52c 100755 --- a/testing/scalar-functions-datetime.test +++ b/testing/scalar-functions-datetime.test @@ -597,6 +597,10 @@ foreach i $FMT { do_execsql_test strftime-invalid-$i "SELECT strftime('$i','2025-01-23T13:14:30.567');" {} } +do_execsql_test strftime-julianday { + SELECT strftime('%Y-%m-%d %H:%M:%fZ', 2459717.08070103); +} {"2022-05-17 13:56:12.569Z"} + # Tests for the TIMEDIFF function