trusty-festivity-extension 2.2.8 → 2.2.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/app/models/festivity_event_list.rb +1 -1
- data/lib/trusty-festivity-extension.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
NGJkNGRiNDQ4ZjIxZjZkOTlmODcwMjg1N2ZiMGQ0MDY0YjRhMzYzMA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NTBjNDYxZTMwNGU0ZDZkOGVjOGU1MDNhNmM5Nzk1YTNjM2YwN2M2ZQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
NTk3ZDI3NjdhYzNiZWVmYTZkOTAwYmE5YTE4MjNiMzE3NThlMzU2ZTRhY2Rj
|
10
|
+
OGUyZjdjMTQ5ZGZiYjE0MzdhNzBiYWYxMTgwNjg5OTdjZjZjYmVlOWM2OTJl
|
11
|
+
NzQ2YjI3M2Y2MzU1ZTRjOWVjODkyOTM5ZjI1MDdlZDc0Mzc3MGQ=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
Y2Q1YmQ4NzE1Zjk1ZDcyODQ1NDNlNzViZDllYzkyMTFlM2E3OTQ0MzU4OGIw
|
14
|
+
MjU5ZmY3MzI4ZDEyZmVmMWY1NDJkYTFhMzc2NGExNTNkNjdhMDEzNTRhYWRj
|
15
|
+
MmNmNmQ5YjIxZTgyZDA4ZWY2Yzg3NDMzYmYzOWMzOTdjN2YyMDk=
|
@@ -64,7 +64,7 @@ class FestivityEventList
|
|
64
64
|
# for each date passed in and return the SQL condition
|
65
65
|
def self.datetime_criteria(datetimes_string, filter_type)
|
66
66
|
date_queries = datetimes_string.split(',').map do |date_string|
|
67
|
-
start_date = Chronic.parse(URI.decode(date_string))
|
67
|
+
start_date = Chronic.parse(URI.decode(date_string)).utc
|
68
68
|
end_date = start_date.advance(advance_by(filter_type))
|
69
69
|
<<-SQL
|
70
70
|
(
|