mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-30 01:35:32 +00:00
Fixed a bug where the last modiefied Date would be in UTC
This commit is contained in:
@@ -13,6 +13,11 @@ public class XMLProvider : IXMLProvider {
|
||||
_fileProvider = provider;
|
||||
_Roots = xmlservice.GetRootsDictionary();
|
||||
_Files = _ScanFiles();
|
||||
|
||||
if (_Files != null)
|
||||
foreach(var category in _Files)
|
||||
if (category.Value != null)
|
||||
xmlservice.AutoUse(category.Value);
|
||||
}
|
||||
|
||||
public FileList? GetFiles(string prefix)
|
||||
@@ -41,7 +46,7 @@ public class XMLProvider : IXMLProvider {
|
||||
return;
|
||||
}
|
||||
|
||||
doc.SetFile(info);
|
||||
doc.File = info;
|
||||
|
||||
if (_Files == null) _Files = new Dictionary<string, FileList?>();
|
||||
if (!_Files.ContainsKey(doc.Prefix)) _Files.Add(doc.Prefix, new FileList(doc.XMLRoot));
|
||||
|
||||
Reference in New Issue
Block a user