Config all processors for using two digits month number.

This commit is contained in:
Michał Zieliński
2024-12-30 20:20:28 +01:00
parent fc0a08d927
commit 5ef9cf477e
11 changed files with 117 additions and 196 deletions

View File

@@ -45,7 +45,7 @@ public class T3SingleSourceProcessor(
ParentId = processWorker.Id,
Number = db.Layers.Count() + 1
};
processedLayer.Name = $"L{processedLayer.Number}-P-{year}/{month}-{source}-T3";
processedLayer.Name = $"L{processedLayer.Number}-P-{year}/{month:D2}-{source}-T3";
processedLayer.CreatedById = Guid.Parse("F392209E-123E-4651-A5A4-0B1D6CF9FF9D");
processedLayer.ModifiedById = Guid.Parse("F392209E-123E-4651-A5A4-0B1D6CF9FF9D");
processedLayer.CreatedAt = DateTime.UtcNow;