We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e50ae72 commit e848661Copy full SHA for e848661
bin/setup
@@ -29,10 +29,9 @@ FileUtils.chdir APP_ROOT do
29
system! 'bin/rails dojos:update_db_by_yaml'
30
system! 'bin/rails dojo_event_services:upsert'
31
32
- today = Date.today
33
- from = (today - 90).strftime('%Y%m')
34
- to = today.prev_month.strftime('%Y%m')
35
-
+ today = Time.zone.today
+ from = (today - 90).strftime('%Y%m')
+ to = today.prev_month.strftime('%Y%m')
36
if ENV['DOORKEEPER_API_TOKEN']
37
system! "bin/rails statistics:aggregation[#{from},#{to}]"
38
system! 'bin/rails upcoming_events:aggregation'
0 commit comments