dark-shadow: add date TZ

This commit is contained in:
Garfield69 2020-10-02 11:09:54 +13:00
parent 0cde1f2f67
commit a75426a876
1 changed files with 7 additions and 3 deletions

View File

@ -136,8 +136,8 @@ search:
inputs: inputs:
$raw: "{{ range .Categories }}c{{.}}=1&{{end}}" $raw: "{{ range .Categories }}c{{.}}=1&{{end}}"
search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}" search: "{{ if .Query.IMDBID }}{{ .Query.IMDBID }}{{else}}{{ .Keywords }}{{end}}"
# 0 name 1 descr 2 both 4 imdb # 0 name, 1 descr, 2 both, 4 imdb
blah: "{{ if .Query.IMDBID }}4{{else}}0{{end}}" blah: "{{ if .Query.IMDBID }}4{{ else }}0{{ end }}"
orderby: "{{ .Config.sort }}" orderby: "{{ .Config.sort }}"
sort: "{{ .Config.type }}" sort: "{{ .Config.type }}"
@ -242,6 +242,8 @@ search:
args: ["Heute", "Today"] args: ["Heute", "Today"]
- name: replace - name: replace
args: ["Gestern", "Yesterday"] args: ["Gestern", "Yesterday"]
- name: append
args: " +01:00" # CET
date: date:
# 30.02.2018 um 23:12:50 # 30.02.2018 um 23:12:50
selector: div.selection_unter_ab:contains(".") selector: div.selection_unter_ab:contains(".")
@ -249,8 +251,10 @@ search:
filters: filters:
- name: replace - name: replace
args: [" um", ""] args: [" um", ""]
- name: append
args: " +01:00" # CET
- name: dateparse - name: dateparse
args: "02.01.2006 15:04:05" args: "02.01.2006 15:04:05 -07:00"
description: description:
selector: selection_unter_af selector: selection_unter_af
optional: true optional: true