UI5 / UI5/openui5

sap.m.DatePicker hide or adapt calculation of the weeknumbers

Open
#3,520 2 comments 0 reactions 1 assignee View on GitHub

@petyabegovska is already working on this.

Since May 17, 2022.

enhancement
Dominant language
JavaScript
Stars
3.3k
Forks
1.3k
PR merge metrics
No merged PRs in 30d

Description

OpenUI5 version: 1.101.0

Browser/version (+device/version): Chrome

Any other tested browsers/devices(OK/FAIL): OK

URL (minimal example if possible): https://sapui5.hana.ondemand.com/#/entity/sap.m.DatePicker/sample/sap.m.sample.DatePicker

User/password (if required and possible - do not post any confidential information here):

Steps to reproduce the problem:

  1. Go to url
  2. Open datepicker by clicking on the icon in the inputfield
  3. See weeknumbers at the left side of the datepicker popup

What is the expected result?
The expectation here is that we want to be able to either hide or adapt the weeknumbers.
It's not possible to hide it. Nor is it possible to change the calculation.
There are two ways of calculating the weeknumbers, which is decided by the browser language.
But if the browser language is different than the way the weeknumber is calculated, we see a 'wrong' weeknumber.

What happens instead?
No customizing possible. Different browser languages see different weeknumbers.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.