diff options
Diffstat (limited to 'utils/rhrd-show')
-rwxr-xr-x | utils/rhrd-show | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/utils/rhrd-show b/utils/rhrd-show index dba7d8e..991e145 100755 --- a/utils/rhrd-show +++ b/utils/rhrd-show @@ -74,8 +74,10 @@ sub search $show->{'DOW'} = 7 if $show->{'DOW'} == 0; my $showtype = RHRD::utils::dropbox_param_showtype_to_string($show->{'TYPE'}); + my $dowstr = "-"; + $dowstr = Date::Calc::Day_of_Week_to_Text($show->{'DOW'}) if($show->{'DOW'} >= 0); print $show->{'ID'} . ": " . $show->{'TITLE'} . ", "; - print join(", ", $show->{'RHYTHM'}, Date::Calc::Day_of_Week_to_Text($show->{'DOW'}), $show->{'STARTTIME'}, ($show->{'LEN'} . " min"), $showtype); + print join(", ", $show->{'RHYTHM'}, $dowstr, $show->{'STARTTIME'}, ($show->{'LEN'} . " min"), $showtype); print ", group: " . $show->{'GROUP'} . "\n"; } return 0; |