From ccd28a80a6545f4c268ec40a87a954476a0c4d10 Mon Sep 17 00:00:00 2001
From: Jens Steidl <Jens.Steidl@slub-dresden.de>
Date: Tue, 23 Jul 2019 12:24:42 +0200
Subject: [PATCH] - addded comments

---
 bin/slubsipbuilder.pl | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/bin/slubsipbuilder.pl b/bin/slubsipbuilder.pl
index 0c64680..fb92e95 100755
--- a/bin/slubsipbuilder.pl
+++ b/bin/slubsipbuilder.pl
@@ -277,10 +277,10 @@ sub get_mods_from ($$) { # $mods = ($url, $ppn)
 
 sub main {
     # get date
-    my $export_to_archive_date = DateTime->now->iso8601();#
+    my $export_to_archive_date = DateTime->now->iso8601();
     my $file_date = $export_to_archive_date;
-    $file_date =~ s/T/_/g;
-    $file_date =~ s/:/-/g;
+    $file_date =~ s/T/_/g; # replace 'T' with '_'
+    $file_date =~ s/:/-/g; # replace ':' with '-'
     # create output dir
     if (! -d $output) {
         mkpath("$output") || confess("could not create SIP directory for '$output', $!");
-- 
GitLab