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:
@@ -11,5 +11,5 @@ export default Ember.Component.extend
|
|||||||
|
|
||||||
actions:
|
actions:
|
||||||
select_date: (date) ->
|
select_date: (date) ->
|
||||||
@set "filters.#{@get('key')}", date?.toISOString()
|
@set "filters.#{@get('key')}", date?.format()
|
||||||
@get('apply_filters')(@) if @get('eager_filter')
|
@get('apply_filters')(@) if @get('eager_filter')
|
||||||
|
|||||||
Reference in New Issue
Block a user