From 648a876d77a7591eac6c4ad5f14b30988e18ce20 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Sun, 9 Oct 2022 15:43:30 +0200 Subject: 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 --- app/i18n/he/sub.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/i18n/he/sub.php') diff --git a/app/i18n/he/sub.php b/app/i18n/he/sub.php index 033a0a7e5..748f13f0b 100644 --- a/app/i18n/he/sub.php +++ b/app/i18n/he/sub.php @@ -98,6 +98,10 @@ return array( '_' => 'item thumbnail', // TODO 'help' => 'Example: descendant::img/@src', // TODO ), + 'item_timeFormat' => array( + '_' => 'Custom date/time format', // TODO + 'help' => 'Optional. A format supported by DateTime::createFromFormat() such as d-m-Y H:i:s', // TODO + ), 'item_timestamp' => array( '_' => 'item date', // TODO 'help' => 'The result will be parsed by strtotime()', // TODO -- cgit v1.2.3