mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-02-25 18:45:27 -06:00
Fix in Javascript for #172.
This commit is contained in:
parent
48c802e5cc
commit
9f24f765ea
@ -87,8 +87,8 @@ function preSelectDate(e) {
|
|||||||
"use strict";
|
"use strict";
|
||||||
var link = $(e.target);
|
var link = $(e.target);
|
||||||
var picker = $('#inputDateRange').data('daterangepicker');
|
var picker = $('#inputDateRange').data('daterangepicker');
|
||||||
picker.setStartDate(link.data('start'));
|
picker.setStartDate(moment(link.data('start'), "YYYY-MM-DD"));
|
||||||
picker.setEndDate(link.data('end'));
|
picker.setEndDate(moment(link.data('end'), "YYYY-MM-DD"));
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user