projects
/
dygraphs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c0cef1f
)
fix bug 92
author
Dan Vanderkam
<danvk@google.com>
Thu, 3 Feb 2011 23:03:44 +0000
(18:03 -0500)
committer
Dan Vanderkam
<danvk@google.com>
Thu, 3 Feb 2011 23:03:44 +0000
(18:03 -0500)
dygraph.js
patch
|
blob
|
blame
|
history
diff --git
a/dygraph.js
b/dygraph.js
index
6bdb143
..
b3433e2
100644
(file)
--- a/
dygraph.js
+++ b/
dygraph.js
@@
-2730,7
+2730,7
@@
Dygraph.dateParser = function(dateStr, self) {
*/
Dygraph.prototype.detectTypeFromString_ = function(str) {
var isDate = false;
- if (str.indexOf('-') >
=
0 ||
+ if (str.indexOf('-') > 0 ||
str.indexOf('/') >= 0 ||
isNaN(parseFloat(str))) {
isDate = true;