Releases: jonesiscoding/arranged
Releases · jonesiscoding/arranged
Additional Reductions
Reduction of Years
DatePeriodFormatter::reduce will reduce years when:
- Year is the same in Start & End dates
- Year is included in format
- No date part separator is used in the format
Example: "June 15 2025 - August 15 2025" becomes "June 15 - August 15 2025"
Reduction of Months
DatePeriodFormatter::reduce will reduce month & year when:
- Year is the same in Start & End Dates
- Year is included in the format
- Month is the same in Start & End Dates
- Month is included in the format
- No date part separator is used in the format
Example: "June 15 2025 - June 18 2025" becomes "June 15-18 2025"
Fixes Single Character Time Pattern
Allows for single character time patterns, when that single character depicts an hour.
Various Fixes
Fixes various problems in date period formatting.
v1.1
Various bug fixes and method additions
Initial Production Release
v1.0.3 Fixes reduceTime for same-day periods
Testing Release
v1.0.2 Version bump for release
Initial Release
v1.0.1 Fixes issues with namespace.