summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonas <dr@jones.dk>2013-07-19 18:47:05 +0200
committerJonas <dr@jones.dk>2013-07-19 18:47:05 +0200
commitda0750ef188acfdc71b8ab233afaa7a65a525f38 (patch)
treeef2d6f19469e99080acf023d95dea6406989a56b
parent5e87a431b9421b3aa570a64d3c5c9e2df211d311 (diff)
Fix include minutes for special-cased just-about-midnight time.HEADmaster
-rwxr-xr-xbin/rdf2hours2
1 files changed, 1 insertions, 1 deletions
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);