opening_hours_converter 1.4.10 → 1.4.11

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 90ab26c7ecb055aebbd5b3b570c837955246e9fe
4
- data.tar.gz: 2ef92e737d2965a1cecb5bae5968c349ba20f919
3
+ metadata.gz: 69da2d045c95a382da0514111793ecdabc7940cd
4
+ data.tar.gz: 05167d9d547eb3376c833bb3bbcbd668341143f6
5
5
  SHA512:
6
- metadata.gz: ff6f41f830ef85e2ad294f56bc8304cb3979328a4b6574fc0361ced3e1eda30b5478a412e423ca61e063b6c1370758e227f27e9b16f18af67a775a969f2afe5c
7
- data.tar.gz: efc202b49475db9a4d19e4e30e1a0596a0bfd77c302bb6a2b71d9daae87fa75e048ab4eaf542cfade388d9d6ef743e4f4b35a23519a2685e6108d60a47861be6
6
+ metadata.gz: 24a806e746c63b5fa678c504cf3b4d1ed9398d94689751620d7104d654a4a44a21e6d8be598c0bbf9e9dc22fe33a0ab241d01546b48024028b62824770962a99
7
+ data.tar.gz: 7e67125b6b54243094283530641d185aca2dd423ac1a71a8be3446d632b01ea3bf7fe8607881d3e9e7e7246026b79f330163a004572914f42ed3fdfd4a169b48
@@ -20,6 +20,9 @@ module OpeningHoursConverter
20
20
  if interval.day_start == interval.day_end || interval.day_end == DAYS_MAX && interval.end == MINUTES_MAX
21
21
  start_minute = interval.start
22
22
  end_minute = interval.end
23
+ elsif interval.day_end == interval.day_start + 1 && interval.end == 0
24
+ start_minute = interval.start
25
+ end_minute = MINUTES_MAX
23
26
  end
24
27
 
25
28
  unless start_minute.nil? && end_minute.nil?
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: opening_hours_converter
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.4.10
4
+ version: 1.4.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ziserman Martin