forked from DebaucheryLibrarian/traxxx
Defauling --actors-update to 1900-01-01
This commit is contained in:
@@ -5,6 +5,10 @@ const yargs = require('yargs');
|
||||
const moment = require('moment');
|
||||
|
||||
function interpretAfter(after) {
|
||||
if (!after) {
|
||||
return new Date(0, 0, 0);
|
||||
}
|
||||
|
||||
if (/\d{2,4}-\d{2}-\d{2,4}/.test(after)) {
|
||||
// using date
|
||||
return moment
|
||||
|
||||
Reference in New Issue
Block a user