Skip to content

Commit

Permalink
bugfix: create hour if minute is given and minute if second is given
Browse files Browse the repository at this point in the history
  • Loading branch information
rkarlsba committed Nov 13, 2016
1 parent 2545620 commit 72f034e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datedist.pl
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,8 @@ sub version
) or syntax("Illegal option!");

$no_day_dir = 1 if ($no_month_dir);
$hour_dir = 1 if ($minute_dir);
$minute_dir = 1 if ($second_dir);
$hour_dir = 1 if ($minute_dir);
&help("Incompatible options!") if ($no_day_dir and $hour_dir);
&help if ($help);
&version if ($print_version);
Expand Down

0 comments on commit 72f034e

Please sign in to comment.