Open nickspeal opened 8 years ago
This should work here
return (date.getMonth() + 1).toString() + "-" + date.getDate() + "__" + date.getHours() + "-" + date.getMinutes() + "-" + date.getSeconds();
Not yet tested.
TODO, check if the time is in local time
Still not resolved in v0.1.8
This is fixed!
SoloLogPull created folders called:
/Users/Nick/Documents/logs/2016-06-23_15_56_logs
Solo ToolKit v0.1.3 creates folders called:
/Users/Nick/Documents/logs/2016_7_5_logs
As a result, if I try to pull logs twice in one day, I get an error.
Bonus: Sometimes with SoloLogPull, I'd try to pull logs, fail, then try again within a minute. In that case the log folder would have the same name. It'd be nice to append some suffix if the log folder is not unique (rather than popping the error that you do)