Read date value was changed

Issue #552 invalid
Steffen Bräunig created an issue

In a Spring environment (V5.3.23), I use the @Value annotation to read in configuration values:

#foobar.yml
foobar:
    syncDate: 2021-01-01
// FooBar.java
public class FooBar {
  public static final String ENV_SYNCDATE = "foobar.syncDate";
  public static final String DEFAULT_SYNCDATE = "#{null}";

  @Value("${"+ENV_SYNCDATE+":"+DEFAULT_SYNCDATE+"}")
  private String syncDate;

  public String getSyncDate() {
    System.out.println("syncDate: "+syncDate)
    return syncDate;
  }
}
// FooBarTest.java
@SpringBootTest(classes = { FooBar.class })
@TestPropertySource(properties = { "spring.config.location = classpath:foobar.yml" })
public class FooBarTest
{
    @Autowired
    private FooBar service;

    @Test
    public void getSyncDate()
    {
        String syncDate = service.getSyncDate();
        Assertions.assertEquals("2021-01-01", syncDate);
    }
}

In version 1.30 it works fine:
syncDate: 2021-01-01

As of version 1.31, the format has been changed:
syncDate: Fri Jan 01 01:00:00 CET 2021

What is the reason?