This website works better with JavaScript.
Home
Explore
Help
Sign In
jrtechs
/
jrtechs-vis
mirror of
https://github.com/jrtechs/vis.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
82
Wiki
Activity
Browse Source
Merge pull request
#15
from Gillingham/patch-1
Fix dataSet parsing of Moment objects
css_transitions
Jos de Jong
11 years ago
parent
2adcbd320a
2728e4ae30
commit
0233afb5bb
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
src/util.js
+ 1
- 1
src/util.js
View File
@ -171,7 +171,7 @@ util.convert = function convert(object, type) {
return
moment
(
object
.
valueOf
(
)
)
;
}
else
if
(
moment
.
isMoment
(
object
)
)
{
return
moment
.
clone
(
)
;
return
moment
(
object
)
;
}
if
(
util
.
isString
(
object
)
)
{
match
=
ASPDateRegex
.
exec
(
object
)
;
Write
Preview
Loading…
Cancel
Save