mirror of
https://github.com/nocodb/nocodb.git
synced 2026-05-02 05:56:56 +00:00
feat: update datetimepicker start day
Co-authored-by: gitstart <gitstart@gitstart.com> Co-authored-by: frankmagoba <franklinmagoba4@gmail.com> Co-authored-by: gitstart_bot <gitstart_bot@users.noreply.github.com>
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
<script setup lang="ts">
|
||||
import dayjs from 'dayjs'
|
||||
import { isSystemColumn } from 'nocodb-sdk'
|
||||
import updateLocale from 'dayjs/plugin/updateLocale'
|
||||
import {
|
||||
ActiveCellInj,
|
||||
CellClickHookInj,
|
||||
@@ -25,8 +26,11 @@ interface Props {
|
||||
}
|
||||
|
||||
const { modelValue, isPk, isUpdatedFromCopyNPaste } = defineProps<Props>()
|
||||
|
||||
const emit = defineEmits(['update:modelValue'])
|
||||
dayjs.extend(updateLocale)
|
||||
dayjs.updateLocale('en', {
|
||||
weekStart: 1,
|
||||
})
|
||||
|
||||
const { isMssql, isXcdbBase } = useBase()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user