From ec21e47337c3d26509c3df8f4f86b1add929b856 Mon Sep 17 00:00:00 2001 From: Callum Birks Date: Thu, 7 Mar 2024 15:53:36 +0000 Subject: [PATCH] Restore CBL3.1 formatting for Timezone --- Fleece/Support/ParseDate.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Fleece/Support/ParseDate.cc b/Fleece/Support/ParseDate.cc index e1d9c3b1..02070791 100644 --- a/Fleece/Support/ParseDate.cc +++ b/Fleece/Support/ParseDate.cc @@ -496,7 +496,7 @@ namespace fleece { if ( offset_seconds.count() == 0 ) { stream << 'Z'; } else { - to_stream(stream, "%Ez", tm, nullptr, &offset_seconds); + to_stream(stream, "%z", tm, nullptr, &offset_seconds); } } }