opening_hours_converter 1.7.5 → 1.7.6
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/wide_interval.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: 0724a4ba5512463c59ad4e713a5ed26d7b8d09e0
|
4
|
+
data.tar.gz: 4b37f5e42e6fb7627cf8c2099cb29404c8a75dc3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 31cf99bc1fd37b7c8df26ee96736b0df988e30f60c661d0e85ef22b92468481e28f3b3cd8ac1f5537ecd97a941e9d05ef2bdab89699be95abca8aab8200fc9bb
|
7
|
+
data.tar.gz: 5ce90faf39c681bcc2cff37623ca7e3df4a44bfd465d4b4ce63037b86b9f0e96efe99918ead39f459fdd9662260658e0b36573a96b9a6dd0b9b2632bbcb6f85d
|
@@ -479,7 +479,7 @@ module OpeningHoursConverter
|
|
479
479
|
in_day = to_day
|
480
480
|
days_count = 0
|
481
481
|
if in_day.end
|
482
|
-
if in_day.start[:year]
|
482
|
+
if in_day.start[:year] && in_day.end[:year]
|
483
483
|
if in_day.start[:year] != in_day.end[:year]
|
484
484
|
for year in in_day.start[:year]..in_day.end[:year]
|
485
485
|
if year == in_day.start[:year]
|