frontend icon indicating copy to clipboard operation
frontend copied to clipboard

Date Picker Displays Sunday as First Day of Week

Open msymons opened this issue 1 year ago • 0 comments

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

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

msymons avatar Apr 20 '23 10:04 msymons