Skip to content

Commit

Permalink
bedre
Browse files Browse the repository at this point in the history
  • Loading branch information
rkarlsba committed Jul 7, 2024
1 parent 4ca82a5 commit 95b8b4e
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions datedist.pl
Original file line number Diff line number Diff line change
Expand Up @@ -244,12 +244,10 @@ sub version
($second,$minute,$hour,$day,$month,$year) = localtime($mtime);
$year += 1900;
$month = sprintf("%02d", $month+1);
# $year = $strftime{'%Y', $mtime};
# $month = $strftime{'%m', $mtime};
# $day = $strftime{'%d', $mtime};
# $hour = $strftime{'%H', $mtime};
# $minute = $strftime{'%M', $mtime};
# $second = $strftime{'%S', $mtime};
$day = sprintf("%02d", $day);
$hour = sprintf("%02d", $hour);
$minute = sprintf("%02d", $minute);
$second = sprintf("%02d", $second);
}

# Create directory tree
Expand Down

0 comments on commit 95b8b4e

Please sign in to comment.