Merge branch 'pipeline' of git@github.com:Frooodle/Stirling-PDF.git into

pipeline
This commit is contained in:
Anthony Stirling
2023-06-24 15:25:39 +01:00
parent f313857f96
commit c81c1006b7
2 changed files with 94 additions and 109 deletions

View File

@@ -119,7 +119,7 @@ public class Controller {
outputFileName = outputFileName.replace("{date}", LocalDate.now().format(dateFormatter));
DateTimeFormatter timeFormatter = DateTimeFormatter.ofPattern("HHmmss");
outputFileName = outputFileName.replace("{time}", LocalTime.now().format(timeFormatter));
// ... Replace other placeholders
// {filename} {folder} {date} {tmime} {pipeline}
Files.move(resource.getFile().toPath(), Paths.get(config.getOutputDir(), outputFileName));
}