DependencyTrack / DependencyTrack/frontend

Date Picker Displays Sunday as First Day of Week

Open
#476 0 comments 0 reactions 0 assignees View on GitHub
defect in triage
Dominant language
Vue
Stars
171
Forks
250
Avg merge
11h 12m
Merged PRs (30d)
82

Description

### Current Behavior

Calandar Date Pickers are displayed in Frontend on the "Dates" tab of "Vulnerability Details" dialog, (`VulnerabilityDetailsModal.vue` and `VulnerabilityCreateVulnerabilityModal.vue`)

The picker dislays Sunday as being the first day of the week. Per ISO-8601, the first day of the week is Monday

![image](https://user-images.githubusercontent.com/4938718/233344076-84f01467-c2f6-444f-8fdc-f3dd6661c61d.png)

### Steps to Reproduce

1. View any vulnerability
2. Click on "View Details" link; this will display the "Vulnerability Details" dialog.
3. Navigate to "Dates" tab on the dialog
4. Click on Calendar Icon (available on "Created" and "Updated" fields) to view picker

### Expected Behavior

Monday should be first day of week,

### Dependency-Track Frontend Version

4.8.0-SNAPSHOT

### Browser

Mozilla Firefox

### Browser Version

111.0.1

### Operating System

Windows

### Checklist

- [X] I have read and understand the [contributing guidelines](https://github.com/DependencyTrack/dependency-track/blob/master/CONTRIBUTING.md#filing-issues)
- [X] I have checked the [existing issues](https://github.com/DependencyTrack/frontend/issues) for whether this defect was already reported

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.