Skip to content

Commit

Permalink
fix(en/aniwave): Upload date parsing
Browse files Browse the repository at this point in the history
  • Loading branch information
Samfun75 committed Oct 16, 2023
1 parent e07fe1e commit b2313e5
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/en/aniwave/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ ext {
extName = 'Aniwave'
pkgNameSuffix = 'en.nineanime'
extClass = '.Aniwave'
extVersionCode = 54
extVersionCode = 55
libVersion = '13'
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -301,6 +301,7 @@ class Aniwave : ConfigurableAnimeSource, ParsedAnimeHttpSource() {
)
}

@Synchronized
private fun parseDate(dateStr: String): Long {
return runCatching { DATE_FORMATTER.parse(dateStr)?.time }
.getOrNull() ?: 0L
Expand Down

0 comments on commit b2313e5

Please sign in to comment.