diff --git a/CHANGELOG.md b/CHANGELOG.md index 6252fd8eb..144780498 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,35 @@ +## [1.11.10](https://github.com/iamkun/dayjs/compare/v1.11.9...v1.11.10) (2023-09-19) + + +### Bug Fixes + +* Add Korean Day of Month with ordinal ([#2395](https://github.com/iamkun/dayjs/issues/2395)) ([dd55ee2](https://github.com/iamkun/dayjs/commit/dd55ee2aadd1009242235e47d558bbf028827896)) +* change back fa locale to the Gregorian calendar equivalent ([#2411](https://github.com/iamkun/dayjs/issues/2411)) ([95e9458](https://github.com/iamkun/dayjs/commit/95e9458b221fe35e59ee4a160a5db247313a68fb)) +* duration plugin - MILLISECONDS_A_MONTH const calculation ([#2362](https://github.com/iamkun/dayjs/issues/2362)) ([f0a0b54](https://github.com/iamkun/dayjs/commit/f0a0b546b074b3b511c2319a1ce83d412894b91f)) +* duration plugin getter get result 0 instead of undefined ([#2369](https://github.com/iamkun/dayjs/issues/2369)) ([061aa7e](https://github.com/iamkun/dayjs/commit/061aa7ed6c31696974665fc9b11a74d30841ebed)) +* fix isDayjs check logic ([#2383](https://github.com/iamkun/dayjs/issues/2383)) ([5f3f878](https://github.com/iamkun/dayjs/commit/5f3f8786c796cd432fe6bcb6966a810daea89203)) +* fix timezone plugin to get correct locale setting ([#2420](https://github.com/iamkun/dayjs/issues/2420)) ([4f45012](https://github.com/iamkun/dayjs/commit/4f4501256fa1bc72128aae1d841bbd782df86aed)) +* **locale:** add meridiem in `ar` locale ([#2418](https://github.com/iamkun/dayjs/issues/2418)) ([361be5c](https://github.com/iamkun/dayjs/commit/361be5c7c628614ee833d710acbe154a598b904d)) +* round durations to millisecond precision for ISO string ([#2367](https://github.com/iamkun/dayjs/issues/2367)) ([890a17a](https://github.com/iamkun/dayjs/commit/890a17a8d8ddd43c7c8b806e3afc7b27f3288d27)) +* sub-second precisions need to be rounded at the seconds field to avoid adding floats ([#2377](https://github.com/iamkun/dayjs/issues/2377)) ([a9d7d03](https://github.com/iamkun/dayjs/commit/a9d7d0398d22ebd4bfc3812ca0134a97606d54d9)) +* update $x logic to avoid plugin error ([#2429](https://github.com/iamkun/dayjs/issues/2429)) ([2254635](https://github.com/iamkun/dayjs/commit/22546357f30924fcff3b3ffa14fd04be21f97a5e)) +* Update Slovenian locale for relative time ([#2396](https://github.com/iamkun/dayjs/issues/2396)) ([5470a15](https://github.com/iamkun/dayjs/commit/5470a15e437fac803797363063b24f3ba3bd5299)) +* update uzbek language translation ([#2327](https://github.com/iamkun/dayjs/issues/2327)) ([0a91056](https://github.com/iamkun/dayjs/commit/0a910564d76dc7c128da8e0d85d8e11ebdb5660b)) + +## [1.11.9](https://github.com/iamkun/dayjs/compare/v1.11.8...v1.11.9) (2023-07-01) + + +### Bug Fixes + +* Add null to min and max plugin return type ([#2355](https://github.com/iamkun/dayjs/issues/2355)) ([62d9042](https://github.com/iamkun/dayjs/commit/62d9042eb84b78d78324694ccbeaad1679d37e68)) +* check if null passed to objectSupport parser ([#2175](https://github.com/iamkun/dayjs/issues/2175)) ([013968f](https://github.com/iamkun/dayjs/commit/013968f609c32e2269df69b4dd1feb2e8e1e035a)) +* dayjs.diff improve performance ([#2244](https://github.com/iamkun/dayjs/issues/2244)) ([33c80e1](https://github.com/iamkun/dayjs/commit/33c80e14cf14f70ceb4f54639e266cd70a3c3996)) +* dayjs(null) throws error, not return dayjs object as invalid date ([#2334](https://github.com/iamkun/dayjs/issues/2334)) ([c79e2f5](https://github.com/iamkun/dayjs/commit/c79e2f5d03eef5660b1f13385b69c0c9668d2f98)) +* objectSupport plugin causes an error when null is passed to dayjs function (closes [#2277](https://github.com/iamkun/dayjs/issues/2277)) ([#2342](https://github.com/iamkun/dayjs/issues/2342)) ([89bf31c](https://github.com/iamkun/dayjs/commit/89bf31ce0a36dcfc892029dc019d85d3654cf5fb)) +* Optimize format method ([#2313](https://github.com/iamkun/dayjs/issues/2313)) ([1fe1b1d](https://github.com/iamkun/dayjs/commit/1fe1b1d9a214d3b8c9f267b432801424a493f1c4)) +* update Duration plugin add/subtract take into account days in month ([#2337](https://github.com/iamkun/dayjs/issues/2337)) ([3b1060f](https://github.com/iamkun/dayjs/commit/3b1060f92183ab3a3c49289c2d87fbdd34c1eacc)) +* update MinMax plugin 1. ignore the 'null' in args 2. return the only one arg ([#2330](https://github.com/iamkun/dayjs/issues/2330)) ([3c2c6ee](https://github.com/iamkun/dayjs/commit/3c2c6ee4db00bbb43a7a3bb0b56bc0d0f03daddc)) + ## [1.11.8](https://github.com/iamkun/dayjs/compare/v1.11.7...v1.11.8) (2023-06-02) diff --git a/README.md b/README.md index 653355170..8423d7765 100644 --- a/README.md +++ b/README.md @@ -99,6 +99,12 @@ dayjs().format('Q Do k kk X x') // more available formats 📚[Plugin List](https://day.js.org/docs/en/plugin/plugin) +### Usage Trend + + + + + ## Sponsors Support this project by becoming a sponsor. Your logo will show up here with a link to your website. diff --git a/docs/es-es/README-es-es.md b/docs/es-es/README-es-es.md index e3519168f..d9b54c794 100644 --- a/docs/es-es/README-es-es.md +++ b/docs/es-es/README-es-es.md @@ -108,6 +108,12 @@ dayjs().format('Q Do k kk X x') // ahora tenemos más formatos disponibles 📚[Lista de complementos](https://day.js.org/docs/en/plugin/plugin) +### Tendencia de Uso + + + + + ## Patrocinadores Apoya a este proyecto convirtiéndote en un patrocinador. Tu logo aparecerá aquí, enlazado a tu sitio web. [[Conviértete en un patrocinador](https://opencollective.com/dayjs#sponsor)] diff --git a/docs/he/README-he.md b/docs/he/README-he.md index a2ce53ea6..f410269ef 100644 --- a/docs/he/README-he.md +++ b/docs/he/README-he.md @@ -120,9 +120,14 @@ dayjs().format('Q Do k kk X x') // כעת יותר אפשרויות זמינות 📚[רשימת תוספים](https://day.js.org/docs/en/plugin/plugin) -## ספונסרים -תמכו בפרויקט זה כדי להיות ספונסר. קבלו לוגו עם קישור לאתר שלכם שיופיע כאן. +### מגמת השימוש + + + + +### ספונסרים +תמכו בפרויקט זה כדי להיות ספונסר. קבלו לוגו עם קישור לאתר שלכם שיופיע כאן. [[תמיכה דרך Github](https://github.com/sponsors/iamkun/)] [[תמיכה דרך OpenCollective](https://opencollective.com/dayjs#sponsor)] diff --git a/docs/ja/README-ja.md b/docs/ja/README-ja.md index 17f7fbe1d..783e86801 100644 --- a/docs/ja/README-ja.md +++ b/docs/ja/README-ja.md @@ -108,6 +108,12 @@ dayjs().format('Q Do k kk X x') // 多様なフォーマットが利用可能に 📚[プラグインリスト](https://day.js.org/docs/en/plugin/plugin) +### 使用トレンド + + + + + ## ライセンス Day.js は [MIT License](../../LICENSE) のもとで利用を許諾します。 diff --git a/docs/ko/README-ko.md b/docs/ko/README-ko.md index 9a66dfcb5..3b1b985b5 100644 --- a/docs/ko/README-ko.md +++ b/docs/ko/README-ko.md @@ -108,6 +108,12 @@ dayjs().format('Q Do k kk X x') // more available formats 📚[플러그인 목록](https://day.js.org/docs/en/plugin/plugin) +### 사용 트렌드 + + + + + ## License Day.js는 [MIT License](./LICENSE)를 사용합니다. diff --git a/docs/pt-br/README-pt-br.md b/docs/pt-br/README-pt-br.md index 0721771d2..31d0bdbc4 100644 --- a/docs/pt-br/README-pt-br.md +++ b/docs/pt-br/README-pt-br.md @@ -107,6 +107,12 @@ dayjs().format('Q Do k kk X x') // mais formatos disponíveis pelo plugin 📚[Lista de Plugins](https://day.js.org/docs/en/plugin/plugin) +### Tendência de Uso + + + + + ## Patrocinadores Ajude este projeto se tornando um patrocinador. O seu logo será exibido aqui, com um link para o seu site. [[Tornar-se um Patrocinador](https://opencollective.com/dayjs#sponsor)]. diff --git a/docs/ru/README-ru.md b/docs/ru/README-ru.md index 2d1079c77..065af14ba 100644 --- a/docs/ru/README-ru.md +++ b/docs/ru/README-ru.md @@ -98,6 +98,12 @@ dayjs().format('Q Do k kk X x') // больше доступных формат 📚[Список плагинов](https://day.js.org/docs/ru/plugin/plugin) +### Тенденция использования + + + + + ## Спонсоры Поддержите этот проект, став спонсором. Ваш логотип будет показан здесь с ссылкой на ваш веб-сайт. [[Стать спонсором](https://opencollective.com/dayjs#sponsor)] diff --git a/docs/si/README-si.md b/docs/si/README-si.md index b170a516b..e5f7fb92b 100644 --- a/docs/si/README-si.md +++ b/docs/si/README-si.md @@ -98,6 +98,12 @@ dayjs().format('Q Do k kk X x') // more available formats 📚[ දිගු ලේඛනය](https://day.js.org/docs/en/plugin/plugin) +### භාවිත ප්‍රමාණයේ ප්‍රසූතිය + + + + + ## අනුග්‍රාහකයින් අනුග්‍රහය දැක්වීමෙන් මෙම ව්‍යාපෘතියට සහාය වන්න. ඔබගේ අඩවියේ සබැඳියක් සමඟ ඔබගේ ලාංඡනය මෙහි පෙන්වනු ඇත. diff --git a/docs/tr/README-tr.md b/docs/tr/README-tr.md index e408dd77c..2b1a63549 100644 --- a/docs/tr/README-tr.md +++ b/docs/tr/README-tr.md @@ -108,6 +108,12 @@ dayjs().format('Q Do k kk X x') // diğer mevcut formatlar 📚[Eklenti Listesi](https://day.js.org/docs/en/plugin/plugin) +### Kullanım Trendi + + + + + ## Sponsorlar Sponsor olarak bu projeye destek olun. Logonuz, web sayfanızın linki ile birlikte burada görünür. [[Sponsor Ol](https://opencollective.com/dayjs#sponsor)] diff --git a/docs/zh-cn/README.zh-CN.md b/docs/zh-cn/README.zh-CN.md index 5abdea0a3..d7bb1ecbc 100644 --- a/docs/zh-cn/README.zh-CN.md +++ b/docs/zh-cn/README.zh-CN.md @@ -108,6 +108,12 @@ dayjs().format('Q Do k kk X x') // 使用扩展后的API 📚[插件列表](https://day.js.org/docs/zh-CN/plugin/plugin) +### 使用量趋势 + + + + + ## 开源协议 Day.js 遵循 [MIT 开源协议](../../LICENSE).