Amend Lauris timepoint parsing to accept "Labor:" prefix.

- VERBESSERUNG: Datumseilen, die mit "Labor:" beginnen, werden nicht länger ignoriert.
This commit is contained in:
Daniel Kraus 2015-08-20 21:04:25 +02:00
parent 058de8e8cf
commit 7eaabb7f13

View File

@ -236,7 +236,7 @@ namespace zaaReloaded2.Importer.ZaaImporter
/// paragraph of a LaurisText.
/// </summary>
static readonly Regex _timeStampRegex = new Regex(
@"^\s*\(?\s*(?<datetime>\d\d\.\d\d\.\d\d\d\d\s+\d\d:\d\d)");
@"^(Labor:)?\s*\(?\s*(?<datetime>\d\d\.\d\d\.\d\d\d\d\s+\d\d:\d\d)");
IList<String> _paragraphs;
Parameters _parameterDictionary;
Units _unitDictionary;