What about formatRange helper?
LordZombi opened this issue · comments
Zombi commented
Clear and concise description of the problem
It will be nice to have also formatRange functionality to format date range.
https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/DateTimeFormat/formatRange
Suggested solution
Something like $d(date, options)
will be nice, for example $dr(fromDate, toDate, options)
Alternative
No response
Additional context
No response
Validations
- Read the Contributing Guidelines
- Read the Documentation
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.