Compare commits
No commits in common. "0513ffa71a67b3c9c4b48e36c0a27f617ff2c135" and "3343e59f165c7972bfdbfb99ff95b744796021d8" have entirely different histories.
0513ffa71a
...
3343e59f16
3 changed files with 6 additions and 2 deletions
|
|
@ -1 +0,0 @@
|
||||||
import "@formatjs/intl-durationformat/polyfill";
|
|
||||||
|
|
@ -6,7 +6,7 @@
|
||||||
bgStrong="bg-blue-500"
|
bgStrong="bg-blue-500"
|
||||||
bgBleak="bg-blue-50"
|
bgBleak="bg-blue-50"
|
||||||
icon="material-symbols:info"
|
icon="material-symbols:info"
|
||||||
caption="Примечание"
|
caption="Обратите внимание"
|
||||||
>
|
>
|
||||||
<slot />
|
<slot />
|
||||||
</IconBlock>
|
</IconBlock>
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,8 @@
|
||||||
|
import { shouldPolyfill } from '@formatjs/intl-durationformat/should-polyfill'
|
||||||
|
if (shouldPolyfill()) {
|
||||||
|
import('@formatjs/intl-durationformat/polyfill-force');
|
||||||
|
}
|
||||||
|
|
||||||
export const dateFormatShort = new Intl.DateTimeFormat(undefined, {
|
export const dateFormatShort = new Intl.DateTimeFormat(undefined, {
|
||||||
month: 'short',
|
month: 'short',
|
||||||
day: 'numeric',
|
day: 'numeric',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue