mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-06-07 05:05:26 +02:00
Clean up oputil help a bit
Minor code tidy + notes
This commit is contained in:
parent
d0e2d41c00
commit
1c92b349cd
3 changed files with 48 additions and 41 deletions
|
@ -234,6 +234,7 @@ function attemptSetEstimatedReleaseDate(fileEntry) {
|
|||
//
|
||||
const maxYear = moment().add(2, 'year').year();
|
||||
const match = getMatch(fileEntry.desc) || getMatch(fileEntry.descLong);
|
||||
|
||||
if(match && match[1]) {
|
||||
let year;
|
||||
if(2 === match[1].length) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue