Skip to content
New issue

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

Feature/Component request: week picker #3825

Closed
cheapsteak opened this issue Nov 13, 2016 · 10 comments
Closed

Feature/Component request: week picker #3825

cheapsteak opened this issue Nov 13, 2016 · 10 comments
Labels
💄 Design It is a UI design issue help wanted The suggestion or request has been accepted, we need you to help us by sending a pull request. ☘️ New Component

Comments

@cheapsteak
Copy link
Contributor

Implementation reference:
http://www.scripts.morshed-alam.com/week-picker/

image

  • Be able to select a week
  • Be able to specify which day to count as the first day of the week (e.g. Sunday or Monday)
@afc163 afc163 added Feature help wanted The suggestion or request has been accepted, we need you to help us by sending a pull request. labels Nov 15, 2016
@benjycui benjycui added the 💄 Design It is a UI design issue label Feb 28, 2017
@benjycui benjycui mentioned this issue Aug 16, 2017
29 tasks
@afc163 afc163 closed this as completed Aug 31, 2017
@benjycui
Copy link
Contributor

benjycui commented Sep 4, 2017

It weird to select month or year in WeekPicker @afc163

@afc163 afc163 reopened this Sep 4, 2017
afc163 added a commit that referenced this issue Sep 6, 2017
@afc163
Copy link
Member

afc163 commented Oct 1, 2017

Launched in branch antd-3.0.

@afc163 afc163 closed this as completed Oct 1, 2017
@drojkind
Copy link

I see there is now a week selector, thank you!

How can we change the week start day to Monday?

@purplecones
Copy link

Is it possible to change the day the week starts on?

@droidappsfactory
Copy link

HI
Is it possible to change start day of week to Monday

@Frabanz
Copy link

Frabanz commented Nov 7, 2018

Is it possible to change start day of week to Monday

Hi,
it is possible just import locale from a country where the week starts with Monday e.g. Germany -> de.

import * as moment from 'moment';
import 'moment/locale/de';

@dulcelariz
Copy link

dulcelariz commented Mar 8, 2019

@Frabanz Is it possible to change start day of week to Monday, but keeping en_US language?

@dohyungp
Copy link

dohyungp commented Dec 8, 2019

Hello,

I changed start day of week to Monday using moment.updateLocale.

e.g

moment.updateLocale("en", { week: { dow: 1 } });

@rashmimh
Copy link

rashmimh commented Jan 21, 2020

Hello,

I changed start day of week to Monday using moment.updateLocale.

e.g

moment.updateLocale("en", { week: { dow: 1 } });

It works.
Note: It is affecting the whole portal.

@Xooone47
Copy link

Hello,

I changed start day of week to Monday using moment.updateLocale.

e.g

moment.updateLocale("en", { week: { dow: 1 } });

It works, thx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
💄 Design It is a UI design issue help wanted The suggestion or request has been accepted, we need you to help us by sending a pull request. ☘️ New Component
Projects
None yet
Development

No branches or pull requests