anon-iclr-submission/benchname-bug-localization huggingface dataset:
Repository: zeuswpi/hydra-android
Issue: Bug in time formatting

Some days are just a number instead of a day (e.g. 5 instead of next Wednesday)

Changed files:
app/src/main/java/be/ugent/zeus/hydra/common/utils/DateUtils.java

diff --git a/app/src/main/java/be/ugent/zeus/hydra/common/utils/DateUtils.java b/app/src/main/java/be/ugent/zeus/hydra/common/utils/DateUtils.java
index 04848b2e..488891bb 100644
--- a/app/src/main/java/be/ugent/zeus/hydra/common/utils/DateUtils.java
+++ b/app/src/main/java/be/ugent/zeus/hydra/common/utils/DateUtils.java
@@ -97,7 +97,7 @@ public class DateUtils {
         } else if (daysBetween == 2 && context.getResources().getBoolean(R.bool.date_supports_overmorrow)) {
             return context.getString(R.string.date_overmorrow);
         } else if (0 <= daysBetween && daysBetween < ONE_WEEK_DAYS) {
-            return date.getDayOfWeek().getDisplayName(TextStyle.FULL_STANDALONE, locale);
+            return date.getDayOfWeek().getDisplayName(TextStyle.FULL, locale);
         } else if (0 <= daysBetween && daysBetween < TWO_WEEKS_DAYS) {
             return context.getString(R.string.date_next_x, date.getDayOfWeek().getDisplayName(TextStyle.FULL, locale));
         } else {