iachat/app/javascript/dashboard/store/modules/conversations
Shivam Mishra 27bce50210
fix: Incorrect date parsing in matchesFilter (#11679)
The `matchesFilter` is a utility that checks the incoming payload
against a filter and returns `true` or `false`.
For the `greater_than` and `less_than` filter specifically, the date
parsing would fail when the timestamp was a 10 digit number.

This PR solves this by adding a `coerceToDate` method that tries to
parse the given value to a Date object as correctly as possible before
comparing.

Ref: https://github.com/chatwoot/utils/pull/53
2025-06-05 19:38:56 -05:00
..
actions
helpers fix: Incorrect date parsing in matchesFilter (#11679) 2025-06-05 19:38:56 -05:00
specs
actions.js feat: Add conversation delete feature (#11677) 2025-06-05 15:53:17 -05:00
getters.js
helpers.js
index.js feat: Add conversation delete feature (#11677) 2025-06-05 15:53:17 -05:00