wallet-core/node_modules/date-time/index.js

5 lines
138 B
JavaScript
Raw Normal View History

2017-05-28 00:38:50 +02:00
'use strict';
module.exports = function (date) {
return (date || new Date()).toISOString().replace(/T/, ' ').replace(/\..+/, ' UTC');
};