opening_hours_converter 1.4.2 → 1.4.3
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/opening_hours_parser.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: 9585065385f691f52c4a58480b885bb00b6ee14f
|
4
|
+
data.tar.gz: 5e5c2d66d29008132a7cce0dd3f21a302685c49b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6b3095cd996a5c744e040a5de0f2c4f6b4fb4528084931e2320eb48bab738f2130ba98a4f0ec933748424983d8faa2cd12b07e33fd44d2ee6ef701295fd3c15a
|
7
|
+
data.tar.gz: c274827835fd504f17a7a74c51523c168d3be5de3b9a95717b2eb20221c7fd5e79075c39cfe0065521504e8214131fed17d8bb77745440864eef7c2c8b88e04b
|
@@ -268,7 +268,7 @@ module OpeningHoursConverter
|
|
268
268
|
wi = {}
|
269
269
|
start_day = DateTime.parse(dr["wide_interval"]["start"])
|
270
270
|
end_day = DateTime.parse(dr["wide_interval"]["end"])
|
271
|
-
case dr["wide_interval"]
|
271
|
+
case dr["wide_interval"]["type"]
|
272
272
|
when "always"
|
273
273
|
wi = OpeningHoursConverter::WideInterval.new.day(start_day.day, start_day.month, nil, end_day.day, end_day.month)
|
274
274
|
else
|