Skip to content

6.0.0

Latest
Compare
Choose a tag to compare
@dstelljes dstelljes released this 07 Dec 02:31
· 15 commits to main since this release
  • Breaking: Pipes now support additional options arguments (#47). This has changed the signatures of the dateTimeToRelative and dateTimeToRelativeCalendar pipes.

    Before:

    {{ date | dateTimeToRelative:'day':'long' }}
    {{ date | dateTimeToRelativeCalendar:'month' }}
    

    After:

    {{ date | dateTimeToRelative:{ unit: 'day', style: 'long' } }}
    {{ date | dateTimeToRelativeCalendar:{ unit: 'month' } }}
  • The dateTimeToLocaleString pipe was added (#45, h/t @malua).

  • The build tooling was updated to Angular 15.