A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/elreco/vue-tailwind-datepicker/commit/117ea2a56db89521cad99d5652b0c30bb9acd243 below:

Merge pull request #146 from elreco/betterlocale · elreco/vue-tailwind-datepicker@117ea2a · GitHub

File tree Expand file treeCollapse file tree 3 files changed

+8

-1

lines changed

Filter options

Expand file treeCollapse file tree 3 files changed

+8

-1

lines changed Original file line number Diff line number Diff line change

@@ -1,3 +1,7 @@

1 +

<script setup>

2 +

import 'dayjs/locale/fr'

3 +

</script>

4 + 1 5

<template>

2 6

<div class="vp-raw">

3 7

<div class="flex flex-col items-center justify-center">

Original file line number Diff line number Diff line change

@@ -167,7 +167,7 @@ This means you only import the specific locale you need directly into your proje

167 167 168 168

<DemoLayout>

169 169

<VueTailwindDatePicker

170 -

i18n="id"

170 +

i18n="fr"

171 171

:auto-apply="false"

172 172

:options="options"

173 173

v-model="dateValue5"

Original file line number Diff line number Diff line change

@@ -1257,6 +1257,9 @@ watchEffect(() => {

1257 1257

}

1258 1258

})

1259 1259 1260 +

dayjs.locale(props.i18n)

1261 +

watch(() => props.i18n, () => dayjs.locale(props.i18n))

1262 + 1260 1263

watchEffect(() => {

1261 1264

const locale = props.i18n

1262 1265

const modelValueCloned = props.modelValue

You can’t perform that action at this time.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4