Repository navigation
2.6.0
Highlights
- Locale-aware compact date format — new
Support\CompactDateFormatderives a compact date format from the active locale's ICU (CLDR) short-date pattern (field order, separators, native digits) and applies it through webtrees' own calendar formatter, so non-Gregorian calendars and B.C.E. years keep rendering correctly.DateProcessorgains an optionalcompactDateFormatparameter. - Place-suffix support —
PlaceProcessorgains an optionalplaceSuffixflag to keep the last (country-end) place parts instead of the first, mirroring theSHOW_PEDIGREE_PLACES_SUFFIXtree preference.
Both additions are backward-compatible: trailing optional parameters that default to the previous behaviour.
Deprecations
DateProcessor::getMarriageDateOfParents()(the legacydisplay()-based variant) is unused by the bundled chart modules and is now@deprecated; usegetFormattedMarriageDateOfParents()instead. Scheduled for removal in the next major release.