docbrown/app/workers/broadcasts
Daniel Uber 1db02f355c
Simplify and label date calculation (#16052)
* Name the created after timestamp and remove temporary variables

The logic used to calculate the live at time, the week ago time, then
compare them to find the more recent value.

Move all of this logic to a method (there's a guard to exit if
the setting is nil, so this should be safe).

* Mark method private

This is not part of the public api (for workers, this should be
`#perform` alone). Mark it private
2022-01-11 14:09:11 -06:00
..
send_welcome_notifications_worker.rb Simplify and label date calculation (#16052) 2022-01-11 14:09:11 -06:00