diff --git a/cpp/src/monoformat_structured.cpp b/cpp/src/monoformat_structured.cpp index 5db1097..185952a 100644 --- a/cpp/src/monoformat_structured.cpp +++ b/cpp/src/monoformat_structured.cpp @@ -1899,7 +1899,11 @@ ElementType CurrentTimeElement::elementType() const { } std::uint32_t CurrentTimeElement::minimumFormatVersion() const { - return 1; + if (static_cast(m_textFlags) != 0) { + return 2; + } else { + return 1; + } } std::size_t CurrentTimeElement::serializeTo(std::span target, std::uint32_t formatVersion) const {