Files
mostlymatter/app
Agniva De Sarker 28c3809036 MM-31353: Fix incorrect time truncation logic (#16776)
As mentioned in the documentation:

> Truncate operates on the time as an absolute duration since the zero time;
    it does not operate on the presentation form of the time. Thus,
    Truncate(Hour) may return a time with a non-zero minute, depending on the
    time's Location.

As a result, truncating for anything more than an hour is buggy and should
not be done. The correct way is to construct the date object using the
day, month and year.

https://mattermost.atlassian.net/browse/MM-31353

```release-notes
Fixed a bug in product notices where a date constraint might
fail to match, and would lead to the notice not being fetched
```
2021-01-23 20:18:10 +05:30
..
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2020-11-17 09:02:36 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2020-08-20 19:37:19 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-15 13:32:54 -07:00
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2020-07-28 10:27:24 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2020-11-17 09:02:36 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30
2021-01-07 22:42:43 +05:30