🟢 RESTful API service for https://surmon.me blog, powered by @nestjs
Home Page:https://github.surmon.me/nodepress
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
jo0ger opened this issue 7 years ago · comments
Object.is(gteDate, 'Invalid Date'),getDate(Invalid Date)是个对象,这个式子一直是false
我瞅瞅
兄台正确,转字符串再判断才对
Object.is(getDate.toString(), 'Invalid Date')