aboutsummaryrefslogtreecommitdiff
path: root/app/i18n/de/sub.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2022-10-09 15:43:30 +0200
committerGravatar GitHub <noreply@github.com> 2022-10-09 15:43:30 +0200
commit648a876d77a7591eac6c4ad5f14b30988e18ce20 (patch)
tree5832c068fd7d4d0a1fa80096849dde18a25887d4 /app/i18n/de/sub.php
parent72265c1eca41424f761246abc5a7fe84fd8bc0f9 (diff)
Add support for custom XPath date/time format (#4703)
* Add support for custom XPath date/time format #fix https://github.com/FreshRSS/FreshRSS/issues/4701 Improvement of https://github.com/FreshRSS/FreshRSS/pull/4220 * Format is not XPath * Remove TODOs in en-GB
Diffstat (limited to 'app/i18n/de/sub.php')
-rw-r--r--app/i18n/de/sub.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/i18n/de/sub.php b/app/i18n/de/sub.php
index f45c8f021..a2af5bc03 100644
--- a/app/i18n/de/sub.php
+++ b/app/i18n/de/sub.php
@@ -98,6 +98,10 @@ return array(
'_' => 'Artikel-Vorschaubild',
'help' => 'Beispiel: <code>descendant::img/@src</code>',
),
+ 'item_timeFormat' => array(
+ '_' => 'Custom date/time format', // TODO
+ 'help' => 'Optional. A format supported by <a href="https://php.net/datetime.createfromformat" target="_blank"><code>DateTime::createFromFormat()</code></a> such as <code>d-m-Y H:i:s</code>', // TODO
+ ),
'item_timestamp' => array(
'_' => 'Artikel-Datum',
'help' => 'Das Ergebnis wird durch <a href="https://php.net/strtotime" target="_blank"><code>strtotime()</code></a> geparst',