5 lines
84 B
JavaScript
5 lines
84 B
JavaScript
|
'use strict';
|
||
|
module.exports = function (str) {
|
||
|
return !isNaN(Date.parse(str));
|
||
|
};
|