Skip to content

Commit

Permalink
Add changeset
Browse files Browse the repository at this point in the history
  • Loading branch information
connor-baer committed Dec 5, 2024
1 parent 0958824 commit c33384d
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions .changeset/ninety-hornets-reply.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
'@sumup-oss/intl': minor
---

Added support for formatting relative times.

```ts
import { formatRelativeTime } from '@sumup-oss/intl';

formatRelativeTime(7, 'years', 'pt-BR'); // 'em 7 anos'
```

0 comments on commit c33384d

Please sign in to comment.