Commit f16b2fe6 authored by Nicola Fulvio Calabria's avatar Nicola Fulvio Calabria
Browse files

added day of month to folder hierarchy

parent b3e61f00
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -241,7 +241,8 @@ public class PutFileService {
        LocalDateTime now = LocalDateTime.now();

        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
        UUID uuid = UUID.randomUUID();