Skip to content

Commit

Permalink
fix(datepicker): set days to 2 letters
Browse files Browse the repository at this point in the history
  • Loading branch information
skhamvon authored and dpellier committed Feb 15, 2024
1 parent 3eaf7f4 commit bdfaa79
Showing 1 changed file with 0 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,13 +204,6 @@ export class OsdsDatepicker implements OdsDatepickerAttribute, OdsDatepickerEven
element.removeAttribute('tabindex');
});

const datepickerDayNames = this.el.shadowRoot.querySelectorAll('.dow');
datepickerDayNames.forEach((day) => {
if (day.textContent) {
day.textContent = day.textContent.trim().charAt(0);
}
});

const viewSwitch = this.el.shadowRoot.querySelector('.view-switch') as HTMLElement;
const chevron = document.createElement('osds-icon');
chevron.setAttribute('name', 'chevron-down');
Expand Down

0 comments on commit bdfaa79

Please sign in to comment.
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy