Skip to content

Commit 83c55c3

Browse files
committed
Documented formatTime's options parameter as optional.
1 parent bdd57d9 commit 83c55c3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

jquery-ui-timepicker-addon.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1255,7 +1255,7 @@
12551255
* Public utility to format the time
12561256
* @param {string} format format of the time
12571257
* @param {Object} time Object not a Date for timezones
1258-
* @param {Object} options essentially the regional[].. amNames, pmNames, ampm
1258+
* @param {Object} [options] essentially the regional[].. amNames, pmNames, ampm
12591259
* @returns {string} the formatted time
12601260
*/
12611261
$.datepicker.formatTime = function(format, time, options) {

0 commit comments

Comments
 (0)