Skip to content

Commit

Permalink
fix(ab): strip the timezone from join time
Browse files Browse the repository at this point in the history
  • Loading branch information
wegood9 committed Jan 17, 2024
1 parent c143edc commit 6a05c20
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resource/sites/animebytes.tv/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
},
"joinTime": {
"selector": ["dt:contains('Joined:') + dd > span"],
"filters": ["dateTime(query.attr('title')).isValid() ? query.attr('title') : query.text()", "dateTime(query).isValid() ? dateTime(query).valueOf() : query"]
"filters": ["dateTime(query.attr('title').replace(/\\s[A-Z]+$/,'')).isValid() ? query.attr('title').replace(/\\s[A-Z]+$/,'') : query.text()", "dateTime(query).isValid() ? dateTime(query).valueOf() : query"]
},
"averageSeedtime": {
"selector": ["dt:contains('Average Seedtime') + dd > span", "dt:contains('平均做种时间') + dd > span", "dt:contains('平均做種時間') + dd > span"],
Expand Down

0 comments on commit 6a05c20

Please sign in to comment.