Skip to content

Set first date of the week in Date Picker web component #626

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

Closed
sbaltova opened this issue Jul 4, 2019 · 1 comment · Fixed by #627
Closed

Set first date of the week in Date Picker web component #626

sbaltova opened this issue Jul 4, 2019 · 1 comment · Fixed by #627
Assignees
Labels
duplicate This issue or pull request already exists enhancement New feature or request feature request

Comments

@sbaltova
Copy link

sbaltova commented Jul 4, 2019

We are working with date piker from ui5 webcomponents and we have a requirement to set first day of week in the date piker,

I couldn't find such property here: https://sap.github.io/ui5-webcomponents/playground/components/DatePicker/

I also tried to run this: sap.ui.getCore().getConfiguration().getFormatSettings().setFirstDayOfWeek(2);

But it didn't change the date picker.

Contact Person: Naama Solomon [Fieldglass]

@sbaltova sbaltova added enhancement New feature or request feature request labels Jul 4, 2019
@sbaltova sbaltova changed the title Set first date of the week in Date Picker web component [Fieldglass] Set first date of the week in Date Picker web component Jul 4, 2019
MapTo0 added a commit that referenced this issue Jul 4, 2019
- global configuration field is added - firstDayOfTheWeek
- e.g. firstDayOfTheWeek: 3 => all calendars should show Wednesday as first

FIXES: #626
FIXES: #585
@MapTo0
Copy link
Member

MapTo0 commented Aug 6, 2019

Duplicate of #585

@MapTo0 MapTo0 marked this as a duplicate of #585 Aug 6, 2019
@MapTo0 MapTo0 closed this as completed Aug 6, 2019
@MapTo0 MapTo0 added the duplicate This issue or pull request already exists label Aug 6, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
duplicate This issue or pull request already exists enhancement New feature or request feature request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants