Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

193
Views
start antd RangePicker (datepicker) week from monday instead of sunday

i am using antd RangePicker to get start and end value of date. my calanders starts from sunday but i want to start it from monday

enter image description here

i have try this solution but nothing works

import { LocaleProvider, Calendar } from 'antd';
import en_GB from 'antd/lib/locale-provider/en_GB';
<LocaleProvider locale={en_GB}>
<Calendar
    dateFullCellRender={dateFullCellRender}
    onSelect={this.onSelect}
    defaultValue={this.state.selectedDate}
    ...
/></LocaleProvider>
about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

From antd documentation here

import 'moment/locale/en-gb';
import locale from 'antd/es/locale/en_GB';
import moment from 'moment';

moment.locale('en-gb', {
  week: {
    dow: 1 /// Date offset
  }
});
about 4 years ago · Juan Pablo Isaza Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!