summaryrefslogtreecommitdiff
path: root/rh-bin
diff options
context:
space:
mode:
authorChristian Pointner <equinox@helsinki.at>2016-12-03 23:09:33 (GMT)
committerChristian Pointner <equinox@helsinki.at>2016-12-03 23:09:33 (GMT)
commit768e49e0083b9f0deaa10a7e17ef03ea0a43733e (patch)
tree080fbeac2f4312de5573c4a57bd2b72ed0f12c6d /rh-bin
parent08298703d0f387dc5376af9380938b7dd64a212a (diff)
lib exports startime including a colon now
Diffstat (limited to 'rh-bin')
-rwxr-xr-xrh-bin/listdropboxes.cgi4
1 files changed, 1 insertions, 3 deletions
diff --git a/rh-bin/listdropboxes.cgi b/rh-bin/listdropboxes.cgi
index e5b948f..f3cf5e2 100755
--- a/rh-bin/listdropboxes.cgi
+++ b/rh-bin/listdropboxes.cgi
@@ -88,14 +88,12 @@ if($responsecode != 200) {
if($href->{'TYPE'} eq "show") {
my $dow = $href->{'SHOWDOW'};
$dow = 0 unless $dow < 7;
- my $starttime = $href->{'SHOWSTARTTIME'};
- substr($starttime, 2, 0) = ':';
print " <show-id>" . xml_quote($href->{'SHOWID'}) . "</show-id>\n";
print " <show-title>" . xml_quote($href->{'SHOWTITLE'}) . "</show-title>\n";
print " <show-log>" . xml_quote($href->{'SHOWLOG'}) . "</show-log>\n";
print " <show-rhythm>" . xml_quote($href->{'SHOWRHYTHM'}) . "</show-rhythm>\n";
print " <show-dayofweek>" . xml_quote($dow) . "</show-dayofweek>\n";
- print " <show-starttime>" . xml_quote($starttime) . "</show-starttime>\n";
+ print " <show-starttime>" . xml_quote($href->{'SHOWSTARTTIME'}) . "</show-starttime>\n";
print " <show-length>" . xml_quote($href->{'SHOWLEN'}) . "</show-length>\n";
print " <show-type>" . xml_quote($href->{'SHOWTYPE'}) . "</show-type>\n";
} elsif($href->{'TYPE'} eq "jingle") {