opening_hours_converter 1.3.6 → 1.3.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/opening_hours_converter/year.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f259687c2a1d2248ff6f8727048001ebe8444dfc
|
4
|
+
data.tar.gz: f094bb587cb5d01d576babefbaf68567f9ce1b6c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e55aa3bc15d1c18c3a3e90841babfbacebfb79e22c70820916b0747c1bd1ac513702f6c9ad1ebbe2c38c82c867760826e7521fab0d2f58fa7683c1d32813ed9a
|
7
|
+
data.tar.gz: 7eb5446652950bf1b4c32e95b856d84e32464fa5013c54cc0e7870d0537383b5625678684a17e2f23b7588baef910d5939dc0a6947643f72d109d19809e0f2b3
|
@@ -288,7 +288,7 @@ module OpeningHoursConverter
|
|
288
288
|
end
|
289
289
|
end
|
290
290
|
elsif wide_interval.type == "day"
|
291
|
-
if wide_interval.
|
291
|
+
if wide_interval.end.nil? || wide_interval.start[:month] == wide_interval.end[:month]
|
292
292
|
if wide_interval.start[:day] == wide_interval.end[:day]
|
293
293
|
years[wide_interval.start[:year]][wide_interval.start[:month]-1][wide_interval.start[:day]-1] = true
|
294
294
|
else
|