iachat/app
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 chore: Avoid contact inboxes getting deleted (#10612) 2024-12-26 16:17:38 +05:30
assets chore: Update styles in settings pages (#11070) 2025-03-18 14:40:02 -07:00
builders fix: Prevent creating duplicate messages via Instagram echo events (#11535) 2025-05-22 11:02:28 +05:30
channels fix: Move contact events to account stream rather than individual user stream (#11082) 2025-03-13 17:46:48 -07:00
controllers feat(ee): Add transcription support for audio messages (#11670) 2025-06-05 18:29:37 -05:00
dashboards chore: improve plan-based feature handling with plan hierarchy (#11335) 2025-04-28 14:13:56 -07:00
dispatchers feat(ee): Add Captain features (#10665) 2025-01-14 16:15:47 -08:00
drops feat: Add the support for custom attributes in message variables (#8511) 2023-12-08 14:13:35 -08:00
fields chore: improve plan-based feature handling with plan hierarchy (#11335) 2025-04-28 14:13:56 -07:00
finders feat: Add support for search_conversations in copilot (#11520) 2025-05-20 19:22:17 -07:00
helpers chore: improve plan-based feature handling with plan hierarchy (#11335) 2025-04-28 14:13:56 -07:00
javascript fix: Incorrect date parsing in matchesFilter (#11679) 2025-06-05 19:38:56 -05:00
jobs feat: auto resolve label option and fixes (#11541) 2025-06-04 14:53:24 +05:30
listeners feat: Add support for realtime-events in copilot-threads and copilot-messages (#11557) 2025-05-22 22:25:05 -07:00
mailboxes chore: upgrade ruby version to 3.4.4 (#11524) 2025-05-21 19:40:07 +05:30
mailers style: run rubocop with auto fix (#11563) 2025-05-23 01:23:33 -07:00
models feat(ee): Add transcription support for audio messages (#11670) 2025-06-05 18:29:37 -05:00
policies feat: Add conversation delete feature (#11677) 2025-06-05 15:53:17 -05:00
presenters chore: Update the precision of the updated_at timestamp in conversation model (#10875) 2025-02-10 20:22:11 -08:00
services feat: improve article search ranking (#11640) 2025-06-03 12:01:17 +05:30
views feat: Add rich text support for widget welcome tagline (#11666) 2025-06-05 14:13:46 -05:00
workers feat: API Endpoints to update message status (#11387) 2025-04-29 15:33:11 -07:00