Add duration unit format (#2483)

* chore: 🤖 add @formatjs/intl-durationformat to addons/core

* refactor: 💡 replace old duration format with new package

* chore: 🤖 remove intl-unofficial-duration-unit-format

* Add missing copyright headers

* test: 💍 add more test cases

---------

Co-authored-by: cameronperera <cameronperera@users.noreply.github.com>
This commit is contained in:
Cameron Pereraandcameronperera authored and GitHub committed 2024-09-13 09:43:08 -05:00
1 parent e395b1196c
commit 9648e1fa3b
8 files changed
+157 -24

No files matched your search

@@ -0,0 +1,6 @@
/**
* Copyright (c) HashiCorp, Inc.
* SPDX-License-Identifier: BUSL-1.1
*/
export { default } from 'core/utils/seconds-to-duration';