From da0750ef188acfdc71b8ab233afaa7a65a525f38 Mon Sep 17 00:00:00 2001 From: Jonas Date: Fri, 19 Jul 2013 18:47:05 +0200 Subject: Fix include minutes for special-cased just-about-midnight time. --- bin/rdf2hours | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/rdf2hours b/bin/rdf2hours index a53995c..0265062 100755 --- a/bin/rdf2hours +++ b/bin/rdf2hours @@ -150,7 +150,7 @@ while ( my $row = $iterator->next ) { $opens =~ s/:\d\d$//; my $closes = $row->{closes}->literal_value; $closes =~ s/:\d\d$//; - $closes =~ s/^23:59/24/; + $closes =~ s/^23:59/24:00/; my @weekdays; my $iterator = $model->get_statements($row->{spec}, curie('gr_hasOpeningHoursDayOfWeek'), undef); -- cgit v1.2.3