ish_models 0.0.33.252 → 0.0.33.253
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ish/email_context.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b6e7781a7b0b7cbc076420a3cfb28cb0d744b01501a22608e0b00d8118d01abd
|
4
|
+
data.tar.gz: 712ba5793e6f2c1d0f77cd4465633d4189a8586113e9c2d4a3e06464c111f4f2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e795efdb559bcd28b50181aa10520f0d7e05b5a28828e8d2d305fbe0de189e2ab35d7cd1e0dd8714b330d38c940ad7eae999860aed4ea41700ebe831e380f2fd
|
7
|
+
data.tar.gz: fc320600843eb3bf82df82665850fe1038a1d73a46e081068dfd5a75b68f10a744a9fe37d11daa5f124362202a8faf268d44b4b76ea401ddbfc0aeb32029ed8c
|
data/lib/ish/email_context.rb
CHANGED
@@ -87,7 +87,7 @@ class ::Ish::EmailContext
|
|
87
87
|
def self.summary
|
88
88
|
pipeline = [
|
89
89
|
{ '$group' => {
|
90
|
-
'_id' => { '$dateToString' => { 'format' => "%Y-%m-%d", 'date' => "$sent_at" } }, 'total' => { '$sum' => 1 }
|
90
|
+
'_id' => { '$dateToString' => { 'format' => "%Y-%m-%d", 'date' => "$sent_at", 'timezone' => 'America/Chicago' } }, 'total' => { '$sum' => 1 }
|
91
91
|
} },
|
92
92
|
{ '$sort' => { '_id': -1 } },
|
93
93
|
]
|