mirror of
https://github.com/gotson/komga.git
synced 2025-12-20 15:34:17 +01:00
fix: better date parsing for epub metadata
This commit is contained in:
parent
b3bcd233fd
commit
ed7fa1fcb8
1 changed files with 5 additions and 1 deletions
|
|
@ -121,7 +121,11 @@ class EpubMetadataProvider(
|
|||
try {
|
||||
LocalDate.parse(date, DateTimeFormatter.ISO_LOCAL_DATE)
|
||||
} catch (e: Exception) {
|
||||
null
|
||||
try {
|
||||
LocalDate.parse(date, DateTimeFormatter.ISO_DATE_TIME)
|
||||
} catch (e: Exception) {
|
||||
null
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue