Remove special write-only handling for dates

This commit is contained in:
Tim Schaub
2013-08-14 11:26:01 -04:00
parent 824c950824
commit 2d95488906
4 changed files with 1 additions and 49 deletions

View File

@@ -346,12 +346,8 @@ ol.parser.ogc.Filter_v1 = function() {
},
'Literal': function(expr) {
goog.asserts.assert(expr instanceof ol.expr.Literal);
var value = expr.getValue();
if (value instanceof Date) {
value = value.toISOString();
}
var node = this.createElementNS('ogc:Literal');
node.appendChild(this.createTextNode(value));
node.appendChild(this.createTextNode(expr.getValue()));
return node;
},
'LowerBoundary': function(expr) {