magico: add date TZ

add book-search
fix fuzzy date parsing
This commit is contained in:
Garfield69 2020-10-07 14:42:39 +13:00
parent 58e0e1a157
commit 2dafcee600
1 changed files with 8 additions and 5 deletions

View File

@ -100,6 +100,7 @@ caps:
tv-search: [q, season, ep]
movie-search: [q]
music-search: [q]
book-search: [q]
settings:
- name: username
@ -217,8 +218,6 @@ search:
args: ["Uploaded ", ""]
- name: replace
args: [" by", ""]
- name: replace
args: ["at ", ""]
- name: replace
args: ["Ανέβηκε ", ""] # Uploaded
- name: replace
@ -226,7 +225,7 @@ search:
- name: replace
args: [" τον/την", ""] # him/her
- name: replace
args: ["στις ", ""] # at
args: ["στις ", "at "] # at
- name: replace
args: ["σήμερα", "Today"]
- name: replace
@ -265,8 +264,10 @@ search:
args: [" τον/την", ""] # him/her
- name: replace
args: ["στις ", ""] # at
- name: append
args: " +00:00" # auto adjusted by site account profile
- name: dateparse
args: "02-01-2006 15:04"
args: "02-01-2006 15:04 -07:00"
date:
# <br /> Uploaded Saturday at 21:09 by
optional: true
@ -279,6 +280,8 @@ search:
args: [" by", ""]
- name: replace
args: ["at ", ""]
- name: append
args: " +00:00" # auto adjusted by site account profile
- name: dateparse
args: "02-01-2006 15:04"
args: "02-01-2006 15:04 -07:00"
# TSUE 2.2