From f455e391478c1f6280c71ef294e5f3bb34c3af54 Mon Sep 17 00:00:00 2001 From: Alex Jordan Date: Tue, 17 Dec 2024 14:27:15 -0800 Subject: [PATCH] import after in achievement items where needed --- lib/WeBWorK/AchievementItems/ExtendDueDate.pm | 2 +- lib/WeBWorK/AchievementItems/ReducedCred.pm | 2 +- lib/WeBWorK/AchievementItems/SuperExtendDueDate.pm | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/WeBWorK/AchievementItems/ExtendDueDate.pm b/lib/WeBWorK/AchievementItems/ExtendDueDate.pm index 5d20f67e78..ecc5816b0e 100644 --- a/lib/WeBWorK/AchievementItems/ExtendDueDate.pm +++ b/lib/WeBWorK/AchievementItems/ExtendDueDate.pm @@ -19,7 +19,7 @@ use Mojo::Base 'WeBWorK::AchievementItems', -signatures; # Item to extend a close date by 24 hours. use WeBWorK::Utils qw(x nfreeze_base64 thaw_base64); -use WeBWorK::Utils::DateTime qw(between); +use WeBWorK::Utils::DateTime qw(after between); use WeBWorK::Utils::Sets qw(format_set_name_display); use constant ONE_DAY => 86400; diff --git a/lib/WeBWorK/AchievementItems/ReducedCred.pm b/lib/WeBWorK/AchievementItems/ReducedCred.pm index f1fc835ea3..23a8ff0dc2 100644 --- a/lib/WeBWorK/AchievementItems/ReducedCred.pm +++ b/lib/WeBWorK/AchievementItems/ReducedCred.pm @@ -20,7 +20,7 @@ use Mojo::Base 'WeBWorK::AchievementItems', -signatures; # Reduced scoring needs to be enabled for this item to work. use WeBWorK::Utils qw(x nfreeze_base64 thaw_base64); -use WeBWorK::Utils::DateTime qw(between); +use WeBWorK::Utils::DateTime qw(after between); use WeBWorK::Utils::Sets qw(format_set_name_display); use constant ONE_DAY => 86400; diff --git a/lib/WeBWorK/AchievementItems/SuperExtendDueDate.pm b/lib/WeBWorK/AchievementItems/SuperExtendDueDate.pm index c3d9529899..eb9cf88da1 100644 --- a/lib/WeBWorK/AchievementItems/SuperExtendDueDate.pm +++ b/lib/WeBWorK/AchievementItems/SuperExtendDueDate.pm @@ -19,7 +19,7 @@ use Mojo::Base 'WeBWorK::AchievementItems', -signatures; # Item to extend a close date by 48 hours. use WeBWorK::Utils qw(x nfreeze_base64 thaw_base64); -use WeBWorK::Utils::DateTime qw(between); +use WeBWorK::Utils::DateTime qw(after between); use WeBWorK::Utils::Sets qw(format_set_name_display); use constant TWO_DAYS => 172800;