Skip to content

Commit

Permalink
Explictly use ISO weekfields for weekyear formats
Browse files Browse the repository at this point in the history
  • Loading branch information
thecoop committed Sep 30, 2024
1 parent 83844d2 commit 78a1a10
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ private static DateFormatter newDateFormatter(String format, DateTimeFormatter p
);
}

public static final WeekFields WEEK_FIELDS_ROOT = WeekFields.of(Locale.ROOT);
public static final WeekFields WEEK_FIELDS_ROOT = WeekFields.ISO;

private static final DateTimeFormatter TIME_ZONE_FORMATTER_NO_COLON = new DateTimeFormatterBuilder().appendOffset("+HHmm", "Z")
.toFormatter(Locale.ROOT)
Expand Down

0 comments on commit 78a1a10

Please sign in to comment.