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:
parent
b50de3cf4f
commit
0cc9271a7f
|
@ -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();
|
||||
|
|
Loading…
Reference in New Issue