MCPcopy Create free account
hub / github.com/ljharb/qs / serializeDate

Function serializeDate

test/stringify.js:1270–1272  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1268
1269 t.test('strictNullHandling works with null serializeDate', function (st) {
1270 var serializeDate = function () {
1271 return null;
1272 };
1273 var options = { strictNullHandling: true, serializeDate: serializeDate };
1274 var date = new Date();
1275 st.equal(qs.stringify({ key: date }, options), 'key');

Callers 1

stringifyFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected