Use in zone formatted date since rails strips zone info in parsing making the rails timezone the leading applicable zone

This commit is contained in:
2019-12-21 08:12:23 -05:00
parent 6bd2046d1c
commit 32d2854110
+1 -1
View File
@@ -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')