Closed glittle closed 9 years ago
You're saying trim on line 310 fixes the issue?
Yes, it helps with that particular issue.
Glen Little Calgary, AB email: glen.little@gmail.com cell: 403-402-7106 "Strive to perceive the nobility in every human being"
On Tue, Sep 30, 2014 at 9:04 AM, Trent Richardson notifications@github.com wrote:
You're saying trim on line 310 fixes the issue?
— Reply to this email directly or view it on GitHub https://github.com/trentrichardson/jQuery-Timepicker-Addon/issues/764#issuecomment-57328069 .
When I have an
altField
showing just time (default setting), then aWrong time format
log is shown in the console. It appears that this line (line 310):results in
currDT
being a single space, even though it is empty. Later code (line 1927) finds that there are two (empty) parts to the split string. This would be avoided ifcurrDT
was trimmed.