fix
This commit is contained in:
@@ -138,6 +138,12 @@ function getSectionReleaseTime(section) {
|
||||
return Number.NaN
|
||||
}
|
||||
|
||||
function getSectionReleaseDate(section) {
|
||||
const releaseTime = getSectionReleaseTime(section)
|
||||
if (!Number.isFinite(releaseTime)) return null
|
||||
return new Date(releaseTime)
|
||||
}
|
||||
|
||||
function isSectionReleased(section) {
|
||||
const releaseTime = getSectionReleaseTime(section)
|
||||
if (!Number.isFinite(releaseTime)) return false
|
||||
|
||||
Reference in New Issue
Block a user