From 32d285411038530acffa18481f3a8e044e801480 Mon Sep 17 00:00:00 2001 From: Benjamin ter Kuile Date: Sat, 21 Dec 2019 08:12:23 -0500 Subject: [PATCH] Use in zone formatted date since rails strips zone info in parsing making the rails timezone the leading applicable zone --- app/components/table-filters/date.coffee | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/components/table-filters/date.coffee b/app/components/table-filters/date.coffee index 5596177..296d47b 100644 --- a/app/components/table-filters/date.coffee +++ b/app/components/table-filters/date.coffee @@ -11,5 +11,5 @@ export default Ember.Component.extend actions: select_date: (date) -> - @set "filters.#{@get('key')}", date?.toISOString() + @set "filters.#{@get('key')}", date?.format() @get('apply_filters')(@) if @get('eager_filter')