From 4c04742abcd3a6f2fe8481c8dcc0b154d7043363 Mon Sep 17 00:00:00 2001 From: Ivan Kuzmenko <6745157+rndtrash@users.noreply.github.com> Date: Wed, 26 Nov 2025 12:36:43 +0300 Subject: [PATCH 1/2] =?UTF-8?q?=D0=AD=D0=BA=D1=81=D1=82=D1=80=D0=B5=D0=BD?= =?UTF-8?q?=D0=BD=D0=B0=D1=8F=20=D0=BF=D0=BE=D0=BF=D1=8B=D1=82=D0=BA=D0=B0?= =?UTF-8?q?=20=D0=B8=D1=81=D0=BF=D1=80=D0=B0=D0=B2=D0=B8=D1=82=D1=8C=20Pol?= =?UTF-8?q?yfill=20=D0=B4=D0=BB=D1=8F=20Intl.DurationFormat?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/hooks.client.ts | 1 + src/lib/util/Dates.ts | 5 ----- 2 files changed, 1 insertion(+), 5 deletions(-) create mode 100644 src/hooks.client.ts diff --git a/src/hooks.client.ts b/src/hooks.client.ts new file mode 100644 index 0000000..b23ad59 --- /dev/null +++ b/src/hooks.client.ts @@ -0,0 +1 @@ +import "@formatjs/intl-durationformat/polyfill"; diff --git a/src/lib/util/Dates.ts b/src/lib/util/Dates.ts index bcf9e71..c710337 100644 --- a/src/lib/util/Dates.ts +++ b/src/lib/util/Dates.ts @@ -1,8 +1,3 @@ -import { shouldPolyfill } from '@formatjs/intl-durationformat/should-polyfill' -if (shouldPolyfill()) { - import('@formatjs/intl-durationformat/polyfill-force'); -} - export const dateFormatShort = new Intl.DateTimeFormat(undefined, { month: 'short', day: 'numeric', From 0513ffa71a67b3c9c4b48e36c0a27f617ff2c135 Mon Sep 17 00:00:00 2001 From: Ivan Kuzmenko <6745157+rndtrash@users.noreply.github.com> Date: Wed, 26 Nov 2025 12:36:53 +0300 Subject: [PATCH 2/2] =?UTF-8?q?InfoBlock=20->=20=D0=9F=D1=80=D0=B8=D0=BC?= =?UTF-8?q?=D0=B5=D1=87=D0=B0=D0=BD=D0=B8=D0=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lib/components/InfoBlock.svelte | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/components/InfoBlock.svelte b/src/lib/components/InfoBlock.svelte index 7635b91..4c21118 100644 --- a/src/lib/components/InfoBlock.svelte +++ b/src/lib/components/InfoBlock.svelte @@ -6,7 +6,7 @@ bgStrong="bg-blue-500" bgBleak="bg-blue-50" icon="material-symbols:info" - caption="Обратите внимание" + caption="Примечание" >