Skip to content

Commit e7bf03f

Browse files
committed
Minor typo fixes
1 parent 3c4e42e commit e7bf03f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

jquery-ui-timepicker-addon.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1824,13 +1824,13 @@
18241824
};
18251825

18261826
/*
1827-
* Splits datetime string into date ans time substrings.
1827+
* Splits datetime string into date and time substrings.
18281828
* Throws exception when date can't be parsed
18291829
* Returns [dateString, timeString]
18301830
*/
18311831
var splitDateTime = function(dateFormat, dateTimeString, dateSettings, timeSettings) {
18321832
try {
1833-
// The idea is to get the number separator occurances in datetime and the time format requested (since time has
1833+
// The idea is to get the number separator occurrences in datetime and the time format requested (since time has
18341834
// fewer unknowns, mostly numbers and am/pm). We will use the time pattern to split.
18351835
var separator = timeSettings && timeSettings.separator ? timeSettings.separator : $.timepicker._defaults.separator,
18361836
format = timeSettings && timeSettings.timeFormat ? timeSettings.timeFormat : $.timepicker._defaults.timeFormat,

0 commit comments

Comments
 (0)