Commit 32f76616 by Harry Rein

Fixes issue with Dates in dropdown not showing correctly when only start date is set.

parent 802978ab
...@@ -148,8 +148,8 @@ ...@@ -148,8 +148,8 @@
formatDateString: function(run) { formatDateString: function(run) {
var pacingType = run.pacing_type, var pacingType = run.pacing_type,
dateString, dateString,
start = run.start_date || this.get('start_date'), start = this.valueIsDefined(run.start_date) ? run.start_date : this.get('start_date'),
end = run.end_date || this.get('end_date'), end = this.valueIsDefined(run.end_date) ? run.end_date : this.get('end_date'),
now = new Date(), now = new Date(),
startDate = new Date(start), startDate = new Date(start),
endDate = new Date(end); endDate = new Date(end);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment