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
|
- name: re_replace
|
||||||
args: ["March", "Mar"]
|
args: ["March", "Mar"]
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "Jan 2, 2006, 3 PM"
|
args: "MMM d, yyyy, h tt"
|
||||||
date_noon:
|
date_noon:
|
||||||
# Sept. 30, 2022, noon
|
# Sept. 30, 2022, noon
|
||||||
selector: div.release_20:contains(", noon")
|
selector: div.release_20:contains(", noon")
|
||||||
|
@ -128,7 +128,7 @@ search:
|
||||||
- name: re_replace
|
- name: re_replace
|
||||||
args: [" noon", " 12 pm"]
|
args: [" noon", " 12 pm"]
|
||||||
- name: dateparse
|
- name: dateparse
|
||||||
args: "Jan 2, 2006, 3 PM"
|
args: "MMM d, yyyy, h tt"
|
||||||
date:
|
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 }}"
|
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:
|
size:
|
||||||
|
|
Loading…
Reference in New Issue