diff --git a/src/utils/phdHelper.js b/src/utils/phdHelper.js index 561d3e1..1efbf43 100644 --- a/src/utils/phdHelper.js +++ b/src/utils/phdHelper.js @@ -201,7 +201,7 @@ export class PHDParser { getFilePrefixes(text) { const unHandledfilePrefixes = this.splitLineText(text) const filePrefixes = unHandledfilePrefixes - .filter(filePrefix => filePrefix) + .filter(filePrefix => filePrefix && filePrefix !== '0') .map(filePrefix => { filePrefix = filePrefix.replace(/(\d{4})\/(\d{2})\/(\d{2})-(\d{2}):(\d{2})(:\d{2}\.\d)?/, '$1$2$3_$4$5') return filePrefix + '_'