summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2023-02-02 01:03:40 +0100
committerCarl Hetherington <cth@carlh.net>2023-02-02 01:37:16 +0100
commite0b3f0dec29dfe2952a8bdf445295e8445a8ecd9 (patch)
tree64e308a8e049ddb8b2770b6a4536ca3774ed9dba /src
parentb424b9d40a472c00d2ddbe2218375dcbd3d947fc (diff)
In Deluxe's "Specifications for Digital Cinema Source and DCP Content Delivery"v1.8.55
they say that subtitle <IssueDate> must be of the form yyyy-mm-ddThh:mm:ss They don't explain it, and the standards don't say this (as far as I can see) but as usual their QC fails <IssueDates> that don't meet this "spec" so here we are. See also: https://dcpomatic.com/forum/viewtopic.php?t=2069
Diffstat (limited to 'src')
-rw-r--r--src/smpte_subtitle_asset.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/smpte_subtitle_asset.cc b/src/smpte_subtitle_asset.cc
index 9d728cc6..375bae0a 100644
--- a/src/smpte_subtitle_asset.cc
+++ b/src/smpte_subtitle_asset.cc
@@ -351,7 +351,7 @@ SMPTESubtitleAsset::xml_as_string () const
if (_annotation_text) {
root->add_child("AnnotationText")->add_child_text(_annotation_text.get());
}
- root->add_child("IssueDate")->add_child_text(_issue_date.as_string(true));
+ root->add_child("IssueDate")->add_child_text(_issue_date.as_string(false, false));
if (_reel_number) {
root->add_child("ReelNumber")->add_child_text(raw_convert<string>(_reel_number.get()));
}