diff --git a/tagvalue.cpp b/tagvalue.cpp index 9c51a9d..0b87846 100644 --- a/tagvalue.cpp +++ b/tagvalue.cpp @@ -939,7 +939,7 @@ void TagValue::toString(string &result, TagTextEncoding encoding) const result = toTimeSpan().toString(); break; case TagDataType::DateTime: - result = toDateTime().toString(DateTimeOutputFormat::IsoOmittingDefaultComponents); + result = toDateTime().toIsoString(); break; case TagDataType::Popularity: result = toPopularity().toString();