mirror of
https://github.com/spring-projects/spring-framework
synced 2026-06-08 17:33:33 +00:00
4d8f6c1b41
This commit adds support of parsing a simple long from a String and turning it to an `Instant` by considering it represents a timestamp in milliseconds (see `Instant.ofEpochMilli`). Failing to parse a long from the String, the previous algorithm is used: first check for an RFC-1123 representation then an ISO_INSTANT representation. See gh-30312 Closes gh-30546