Skip to content
Permalink
Browse files

shift start date to match writing plans

  • Loading branch information...
pugetive committed May 23, 2019
1 parent 0d031a0 commit 7d1ba4fa2a2526e90194d328b410b79ad62f60ca
Showing with 2 additions and 1 deletion.
  1. +2 −1 lib/africa/africa_reminder_mail.rb
@@ -54,7 +54,8 @@ def contents_for_index(index)
end

def days_index(date = Date.today)
(days_since_epoch(date) % num_days)
adjusted_index = days_since_epoch(date) + 61
(adjusted_index % num_days)
end

def days_since_epoch(date = Date.today)

0 comments on commit 7d1ba4f

Please sign in to comment.
You can’t perform that action at this time.