Commits
Tarun Sukhani authored a3b020d1571
refactor: remove Joda Time in favor of java.time (PF-27, release 1.12.27) Hard-removes joda-time 2.14.0 from the framework. The DateTimeBinder wrapper, the dep entry, the lib jar, and the COPYING attribution are all gone. The 2014-tzdata-era JodaTimeTest is also dropped (not Play's responsibility). Adds 7 new java.time type binders mirroring the existing LocalDateTime* pattern verbatim (null/blank short-circuit, default ISO-8601 parse(), DateTimeParseException on malformed input): - Instant, ZonedDateTime, OffsetDateTime, OffsetTime - Year, YearMonth, Duration Each new binder gets a *BinderTest with 5 cases (null/empty/whitespace/ valid/invalid). Registrations land alongside existing LocalDate*Binder entries in Binder.java's static initializer. A "Migrating from Joda Time" section in README.md documents the type mapping (DateTime UTC -> Instant, DateTime+zone -> ZonedDateTime, DateTime+offset -> OffsetDateTime, etc.), the ZonedDateTime offset-only caveat (yields fixed-offset zone, not DST-aware), and the validation.invalid surfacing semantics for malformed input. Apps that still need Joda for non-binding code paths must add it to their own dependencies.yml. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>