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