Wrong variable name in Java's "Date-Time" concept

Hello,

I think in the lines of code below of this concept, parser should be formatter.

DateTimeFormatter parser = DateTimeFormatter.ofPattern("dd/MM/yyyy");
LocalDate date = LocalDate.parse("03/12/2007", formatter);

1 Like

Thanks for the feedback! You are correct. I remember this was recently fixed in the corresponding concept exercise, but it looks like we missed the concept itself.

Created a PR to fix it: https://github.com/exercism/java/pull/2621