git ssb

0+

cel-desktop / ssb-pkg



Tree: 65191f9a9664f013ebe726bb95a1a54b086e1bd5

Files: 65191f9a9664f013ebe726bb95a1a54b086e1bd5 / test / test-79-npm / json-stringify-date / json-stringify-date.js

189 bytesRaw
1'use strict';
2
3var stringify = require('json-stringify-date');
4var obj = { d: new Date(2014, 2, 4) };
5var s = stringify.stringify(obj);
6if (s.indexOf('2014') >= 0) {
7 console.log('ok');
8}
9

Built with git-ssb-web