DEV: Fix a core deprecation (#475)

This commit is contained in:
Jarek Radosz 2023-05-26 15:40:40 +02:00 committed by GitHub
parent f97da59dee
commit 968751c8a9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 1 deletions

View File

@ -1,3 +1,4 @@
3.1.0.beta4: f97da59deed6c31734e98d5360510f9746a3a0be
3.1.0.beta3: 9c270cac9abc1c2b30574d8c655fb3a90546236b 3.1.0.beta3: 9c270cac9abc1c2b30574d8c655fb3a90546236b
2.9.0.beta8: 28bc8ab78a09551548c87f511ade3d64e1b04bc3 2.9.0.beta8: 28bc8ab78a09551548c87f511ade3d64e1b04bc3
2.9.0.beta3: 46f200935dc9e5750c3f2740abd993e27a9b3f6c 2.9.0.beta3: 46f200935dc9e5750c3f2740abd993e27a9b3f6c

View File

@ -110,7 +110,7 @@ class PendingAssignsReminder
end end
def time_in_words_for(topic) def time_in_words_for(topic)
FreedomPatches::Rails4.distance_of_time_in_words( AgeWords.distance_of_time_in_words(
Time.zone.now, Time.zone.now,
topic.assigned_at.to_time, topic.assigned_at.to_time,
false, false,