We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
4.1.0
vue:3.4.21
https://next.antdv.com/components/date-picker-cn
<a-range-picker v-model:value="value" picker="week" :allowClear="false" :inputReadOnly="true"
<template #dateRender="{ current }">
import type { Dayjs } from 'dayjs'; import dayjs from 'dayjs'; import updateLocale from 'dayjs/plugin/updateLocale'; import 'dayjs/locale/ja'; dayjs.extend(updateLocale); dayjs.updateLocale('ja', { weekStart: 1, yearStart: 8 });
设置当年8号为第一周的话,组件选到1月的时候就会报错
正常设置yearStart不报错
切到24年1月的时候控制台报错
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Version
4.1.0
Environment
vue:3.4.21
Reproduction link
https://next.antdv.com/components/date-picker-cn
Steps to reproduce
<a-range-picker
v-model:value="value"
picker="week"
:allowClear="false"
:inputReadOnly="true"
<template #dateRender="{ current }">
import type { Dayjs } from 'dayjs';
import dayjs from 'dayjs';
import updateLocale from 'dayjs/plugin/updateLocale';
import 'dayjs/locale/ja';
dayjs.extend(updateLocale);
dayjs.updateLocale('ja', {
weekStart: 1,
yearStart: 8
});
设置当年8号为第一周的话,组件选到1月的时候就会报错
What is expected?
正常设置yearStart不报错
What is actually happening?
切到24年1月的时候控制台报错
The text was updated successfully, but these errors were encountered: