Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
jio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Mukul
jio
Commits
c844e2f1
Commit
c844e2f1
authored
Mar 18, 2014
by
Marco Mariani
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc fix: dateType cannot receive a date
parent
04fa62f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
5 deletions
+2
-5
docs/keys.rst
docs/keys.rst
+2
-5
No files found.
docs/keys.rst
View file @
c844e2f1
...
@@ -209,11 +209,8 @@ you can group all of them in a schema object for reuse:
...
@@ -209,11 +209,8 @@ you can group all of them in a schema object for reuse:
}
}
},
},
cast_lookup: {
cast_lookup: {
dateType: function (obj) {
dateType: function (str) {
if (Object.prototype.toString.call(obj) === '[object Date]') {
return new Date(str);
return obj;
}
return new Date(obj);
}
}
},
},
match_lookup: {
match_lookup: {
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment