# Date Filter - \_dateparsefailure

**URL:** <https://discuss.elastic.co/t/date-filter-dateparsefailure/307199>\
**Category:** Logstash\
**Created:** [June 14, 2022, 9:12pm UTC](https://discuss.elastic.co/t/date-filter-dateparsefailure/307199 "2022-06-14T21:12:16Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![Badger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/badger/32/25190_2.png) [@Badger](https://discuss.elastic.co/u/Badger)\
**Post date:** [June 15, 2022, 4:32pm UTC](https://discuss.elastic.co/t/date-filter-dateparsefailure/307199/6 "2022-06-15T16:32:24Z")

</div>

> [@yquirion](#):
>
> Do you think it may be related to the LANG of my server? It has` LANG=en_CA.UTF-8` as value.

Yes, that is the problem. Someone else had this problem [last week](https://discuss.elastic.co/t/logstash-filter-date-match-not-replacing-timestamp/306364/22) and solved it by using mutate+gsub to change the abbreviated month name to a month number. The problem is that that particular locale requires a period at the end of the month abbreviation. So `May 2 10:40:49` works, and `Nov. 2 10:40:49` works, but `Nov 2 10:40:49` cannot be parsed.

---

_[View the full topic](https://discuss.elastic.co/t/date-filter-dateparsefailure/307199)._
