From c122921fc813f9a398def4f9e6cbb5370d6cfc5d Mon Sep 17 00:00:00 2001 From: Garfield69 Date: Fri, 24 Feb 2023 21:13:15 +1300 Subject: [PATCH] assorted yml: dateparse update. related to #14072 --- src/Jackett.Common/Definitions/shanaproject.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Jackett.Common/Definitions/shanaproject.yml b/src/Jackett.Common/Definitions/shanaproject.yml index e785c9e3c..778c6c7c9 100644 --- a/src/Jackett.Common/Definitions/shanaproject.yml +++ b/src/Jackett.Common/Definitions/shanaproject.yml @@ -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: