We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c667a09 commit b828a82Copy full SHA for b828a82
helpers/mu/sparql.js
@@ -38,7 +38,7 @@ function sparqlEscapeFloat( value ){
38
};
39
40
function sparqlEscapeDate( value ){
41
- return '"' + new Date(value).toISOString() + '"^^xsd:date';
+ return '"' + new Date(value).toISOString().substring(0, 10) + '"^^xsd:date'; // only keep 'YYYY-MM-DD' portion of the string
42
43
44
function sparqlEscapeDateTime( value ){
0 commit comments