|
@ -470,7 +470,7 @@ exports.convert = function (object, type) { |
|
|
return new Date(Number(match[1])).toISOString(); // parse number
|
|
|
return new Date(Number(match[1])).toISOString(); // parse number
|
|
|
} |
|
|
} |
|
|
else { |
|
|
else { |
|
|
return new Date(object).toISOString(); // parse string
|
|
|
|
|
|
|
|
|
return moment(object).format(); // ISO 8601
|
|
|
} |
|
|
} |
|
|
} |
|
|
} |
|
|
else { |
|
|
else { |
|
|