firebit: new dateparse

This commit is contained in:
Garfield69
2021-08-20 16:18:22 +12:00
parent e1ad56b12a
commit 8f34947c24

View File

@@ -97,7 +97,20 @@ search:
- name: replace - name: replace
args: ["-", "0 B"] args: ["-", "0 B"]
date: date:
selector: td:nth-child(5), li.meta-date # Вчера, 08:01:41
# 2 дня назад, 19:33:51
selector: td:nth-child(5):contains(","), li.meta-date:contains(",")
optional: true
filters:
- name: replace
args: ["Вчера,", "Yesterday"]
- name: replace
args: ["дня назад,", "days"]
- name: fuzzytime
date:
# 16.08.2021 20:29:39
selector: td:nth-child(5):not(:contains(",")), li.meta-date:not(:contains(","))
optional: true
filters: filters:
- name: append - name: append
args: " +03:00" # MSK args: " +03:00" # MSK