Parse more date formats

This commit is contained in:
Deluan
2020-09-06 00:27:00 -04:00
committed by Deluan Quintão
parent 78ecda5239
commit 2d0031f709
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -105,7 +105,7 @@ func (m *baseMetadata) parseInt(tagName string) int {
return 0
}
var dateRegex = regexp.MustCompile(`^([12]\d\d\d)`)
var dateRegex = regexp.MustCompile(`([12]\d\d\d)`)
func (m *baseMetadata) parseYear(tagName string) int {
if v, ok := m.tags[tagName]; ok {