mirror of https://github.com/Jackett/Jackett
assorted yml: dateparse update. related to #14072
This commit is contained in:
parent
38dc2f123b
commit
c122921fc8
|
@ -107,7 +107,7 @@ search:
|
|||
- name: re_replace
|
||||
args: ["March", "Mar"]
|
||||
- name: dateparse
|
||||
args: "Jan 2, 2006, 3 PM"
|
||||
args: "MMM d, yyyy, h tt"
|
||||
date_noon:
|
||||
# Sept. 30, 2022, noon
|
||||
selector: div.release_20:contains(", noon")
|
||||
|
@ -128,7 +128,7 @@ search:
|
|||
- name: re_replace
|
||||
args: [" noon", " 12 pm"]
|
||||
- name: dateparse
|
||||
args: "Jan 2, 2006, 3 PM"
|
||||
args: "MMM d, yyyy, h tt"
|
||||
date:
|
||||
text: "{{ if or .Result.date_full .Result.date_abbr .Result.date_noon }}{{ or .Result.date_full .Result.date_abbr .Result.date_noon }}{{ else }}now{{ end }}"
|
||||
size:
|
||||
|
|
Loading…
Reference in New Issue