Closed wesleifreitas closed 7 years ago
There is a problem with UTC for endDate. See an example:
In sm-range-picker-input, selecte TODAY
Result:
This happens because of UTC.
Solution:
change endDate:moment().endOf('day') by endDate:moment().utc().endOf('day')
I think that object could only be: { startDate: 2017-03-14T00:00:00.000Z endDate: 2017-03-14T23:59:59.999Z }
There is a problem with UTC for endDate. See an example:
In sm-range-picker-input, selecte TODAY![untitled-1 fw](https://cloud.githubusercontent.com/assets/6631277/23916041/a4725a56-08c9-11e7-8925-2d7b4fff0a85.png)
Result:![untitled-2 fw](https://cloud.githubusercontent.com/assets/6631277/23916093/d76b2ece-08c9-11e7-962b-44ff6343da22.png)
This happens because of UTC.
Solution: