ElemeFE / ElemeFE/element

[Bug Report] offsetFromStart falsy w/ getStartDateOfMonth/firstDayOfMonth on the same row and 1 < firstDayOfWeek < 4 in data-table component

Open
#20,362 1 comment 0 reactions 0 assignees View on GitHub
stale
Dominant language
Vue
Stars
54k
Forks
14.4k
PR merge metrics
No merged PRs in 30d

Description

### Element UI version
2.14.0

### OS/Browsers version
all

### Vue version
2.6.12

### Reproduction Link
https://jsfiddle.net/5bowryx3/

### Steps to reproduce
Select daterange 09/01/2020 - 09/30/2020

### What is Expected?
Receive [ "2020-08-31T22:00:00.000Z", "2020-09-29T22:00:00.000Z" ] in model

### What is actually happening?
Receive [ "2020-09-07T22:00:00.000Z", "2020-10-06T22:00:00.000Z" ] in model

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.