Revert "Omit default components when formatting date time"

* This hack is no longer required as it is now possible to preserve
  what date time parts are specified.
* This reverts commit 44fea6c8c2.
This commit is contained in:
Martchus 2022-08-13 15:02:24 +02:00
parent b50de3cf4f
commit 0cc9271a7f
1 changed files with 1 additions and 1 deletions

View File

@ -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();