summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTrent <trentdrichardson@gmail.com>2012-01-30 15:49:09 -0500
committerTrent <trentdrichardson@gmail.com>2012-01-30 15:49:09 -0500
commite2faad1db277de70b7017b373ebc7b9003496fcf (patch)
treed97e60f26c44fdf4d37ac941be3e1b230bd4bd59
parent547e6adde3a81880833e243df95a0bf2642da3bc (diff)
downloadjQuery-Timepicker-Addon-e2faad1db277de70b7017b373ebc7b9003496fcf.zip
jQuery-Timepicker-Addon-e2faad1db277de70b7017b373ebc7b9003496fcf.tar.gz
jQuery-Timepicker-Addon-e2faad1db277de70b7017b373ebc7b9003496fcf.tar.bz2
Trim formatted time for when ampm=false and tt in format
-rw-r--r--jquery-ui-timepicker-addon.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/jquery-ui-timepicker-addon.js b/jquery-ui-timepicker-addon.js
index 44f56d8..d648145 100644
--- a/jquery-ui-timepicker-addon.js
+++ b/jquery-ui-timepicker-addon.js
@@ -872,6 +872,7 @@ $.extend(Timepicker.prototype, {
}
});
+ tmptime = $.trim(tmptime);
if (arguments.length) return tmptime;
else this.formattedTime = tmptime;
},