Skip to content

Commit 6d01645

Browse files
committed
Datepicker: Changed a comment that causes problems with YUI Compressor. Fixes #7129 - Datepicker: Can't minify with YUI Compressor.
1 parent 5a112d4 commit 6d01645

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ui/jquery.ui.datepicker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1093,7 +1093,7 @@ $.extend(Datepicker.prototype, {
10931093
}
10941094
var date = this._daylightSavingAdjust(new Date(year, month - 1, day));
10951095
if (date.getFullYear() != year || date.getMonth() + 1 != month || date.getDate() != day)
1096-
throw 'Invalid date'; // E.g. 31/02/*
1096+
throw 'Invalid date'; // E.g. 31/02/00
10971097
return date;
10981098
},
10991099

0 commit comments

Comments
 (0)