diff options
| author | Carl Hetherington <cth@carlh.net> | 2015-09-12 15:14:15 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2015-09-12 15:14:15 +0100 |
| commit | 36439e0cb69d7d3a3c3944367fa649b77776e0ba (patch) | |
| tree | 3fb9133ebc0c7260483b8fa3560f23205e5dc7d8 | |
| parent | 75356e094480bd7f96263a967a8cf165f4a2f818 (diff) | |
Remove erroneous local time from generated ContentVersionId.
| -rw-r--r-- | src/cpl.cc | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -51,11 +51,11 @@ CPL::CPL (string annotation_text, ContentKind content_kind) , _content_kind (content_kind) , _content_version_id ("urn:uuid:" + make_uuid ()) { - /* default _content_version_id to and _content_version_label to + /* default _content_version_id to a random ID and _content_version_label to a random ID and the current time. */ - _content_version_id = "urn:uuid:" + make_uuid() + LocalTime().as_string (); - _content_version_label_text = _content_version_id; + _content_version_id = "urn:uuid:" + make_uuid(); + _content_version_label_text = _content_version_id + LocalTime().as_string (); } /** Construct a CPL object from a XML file */ |
