Skip to content
Snippets Groups Projects
Commit f16b2fe6 authored by Nicola Fulvio Calabria's avatar Nicola Fulvio Calabria
Browse files

added day of month to folder hierarchy

parent b3e61f00
Branches
No related tags found
No related merge requests found
...@@ -241,7 +241,8 @@ public class PutFileService { ...@@ -241,7 +241,8 @@ public class PutFileService {
LocalDateTime now = LocalDateTime.now(); LocalDateTime now = LocalDateTime.now();
Path fsPath = Path.of(Integer.toString(now.getYear())) Path fsPath = Path.of(Integer.toString(now.getYear()))
.resolve(Integer.toString(now.getMonthValue())); .resolve(Integer.toString(now.getMonthValue()))
.resolve(Integer.toString(now.getDayOfMonth()));
// Generate uuid for filename // Generate uuid for filename
UUID uuid = UUID.randomUUID(); UUID uuid = UUID.randomUUID();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment