iachat/app/javascript/dashboard/store
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
..
captain feat: Update UI for Copilot (#11561) 2025-06-02 22:02:03 -05:00
modules fix: Incorrect date parsing in matchesFilter (#11679) 2025-06-05 19:38:56 -05:00
utils feat: Prevent saving preferences and status when impersonating (#11164) 2025-05-20 17:34:30 -07:00
constants.js fix: stale report value shown if summary fetch breaks (#11270) 2025-04-15 20:18:06 +05:30
index.js feat: Add stores for copilotMessages and copilotThreads (#11603) 2025-05-27 18:36:32 -06:00
mutation-types.js feat: Add conversation delete feature (#11677) 2025-06-05 15:53:17 -05:00