不要怂,就是干,撸起袖子干!

Commit c40ac4f2 by sdepold

fixed timestamp parser changes

1 parent 160da54d
Showing with 2 additions and 2 deletions
......@@ -82,7 +82,7 @@ module.exports = (function() {
withoutEquals: false
}, options || {})
var date = Migration.stringToDate(dateString.toString())
var date = Migration.parseFilename(dateString.toString()).date
return options.withoutEqual ? (date > this.date) : (date >= this.date)
}
......@@ -92,7 +92,7 @@ module.exports = (function() {
withoutEquals: false
}, options || {})
var date = Migration.stringToDate(dateString.toString())
var date = Migration.parseFilename(dateString.toString()).date
return options.withoutEqual ? (date < this.date) : (date <= this.date)
}
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!