feature: if the provided date is 'now', create a date (#14)

This commit is contained in:
harttle
2016-10-23 00:11:22 +08:00
parent baac31b037
commit 300c3710c6
5 changed files with 46 additions and 12 deletions
+5
View File
@@ -0,0 +1,5 @@
function isString(value){
return value instanceof String || typeof value === 'string';
}
exports.isString = isString;