Code style fixes

This commit is contained in:
Denys Vuika
2016-09-29 16:30:17 +01:00
parent b2e40162c6
commit a6efd31e06
@@ -198,7 +198,7 @@ export class MaxDateFieldValidator implements FormFieldValidator {
// remove time and timezone info
let d = moment(field.value.split('T')[0], dateFormat);
var max = moment(field.maxValue, dateFormat);
let max = moment(field.maxValue, dateFormat);
if (d.isAfter(max)) {
field.validationSummary = `Should not be greater than ${field.maxValue}`;