json dates are utc
This commit is contained in:
parent
12ed2c93fc
commit
037685e738
1 changed files with 1 additions and 1 deletions
|
@ -179,7 +179,7 @@ Ox.fallback.JSON = (function() {
|
||||||
} else if (type == 'boolean') {
|
} else if (type == 'boolean') {
|
||||||
ret = String(value);
|
ret = String(value);
|
||||||
} else if (type == 'date') {
|
} else if (type == 'date') {
|
||||||
ret = Ox.getISODate(value);
|
ret = Ox.getISODate(value, true);
|
||||||
} else if (type == 'number') {
|
} else if (type == 'number') {
|
||||||
ret = isFinite(value) ? String(value) : 'null';
|
ret = isFinite(value) ? String(value) : 'null';
|
||||||
} else if (type == 'object') {
|
} else if (type == 'object') {
|
||||||
|
|
Loading…
Reference in a new issue