summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Vance <steve@vance.com>2013-07-06 17:29:45 -0400
committerStephen Vance <steve@vance.com>2013-07-06 22:19:58 -0400
commite7bf03fa1a46db16c67d9696510f39ee109b4625 (patch)
treea5fad97e8076774c272187bae7732a360af02839
parent3c4e42e60e0a9e994f50586c079bf0b1ded369a0 (diff)
downloadjQuery-Timepicker-Addon-e7bf03fa1a46db16c67d9696510f39ee109b4625.zip
jQuery-Timepicker-Addon-e7bf03fa1a46db16c67d9696510f39ee109b4625.tar.gz
jQuery-Timepicker-Addon-e7bf03fa1a46db16c67d9696510f39ee109b4625.tar.bz2
Minor typo fixes
-rw-r--r--jquery-ui-timepicker-addon.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jquery-ui-timepicker-addon.js b/jquery-ui-timepicker-addon.js
index 973ac61..6925a3f 100644
--- a/jquery-ui-timepicker-addon.js
+++ b/jquery-ui-timepicker-addon.js
@@ -1824,13 +1824,13 @@
};
/*
- * Splits datetime string into date ans time substrings.
+ * Splits datetime string into date and time substrings.
* Throws exception when date can't be parsed
* Returns [dateString, timeString]
*/
var splitDateTime = function(dateFormat, dateTimeString, dateSettings, timeSettings) {
try {
- // The idea is to get the number separator occurances in datetime and the time format requested (since time has
+ // The idea is to get the number separator occurrences in datetime and the time format requested (since time has
// fewer unknowns, mostly numbers and am/pm). We will use the time pattern to split.
var separator = timeSettings && timeSettings.separator ? timeSettings.separator : $.timepicker._defaults.separator,
format = timeSettings && timeSettings.timeFormat ? timeSettings.timeFormat : $.timepicker._defaults.timeFormat,