json dates are utc

This commit is contained in:
rolux 2012-05-26 14:42:59 +02:00
parent 12ed2c93fc
commit 037685e738

View file

@ -179,7 +179,7 @@ Ox.fallback.JSON = (function() {
} else if (type == 'boolean') {
ret = String(value);
} else if (type == 'date') {
ret = Ox.getISODate(value);
ret = Ox.getISODate(value, true);
} else if (type == 'number') {
ret = isFinite(value) ? String(value) : 'null';
} else if (type == 'object') {