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/oc/sub.php | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'app/i18n/oc/sub.php') diff --git a/app/i18n/oc/sub.php b/app/i18n/oc/sub.php index b1869f983..58bbe9ca8 100644 --- a/app/i18n/oc/sub.php +++ b/app/i18n/oc/sub.php @@ -98,6 +98,10 @@ return array( '_' => 'item vinheta', 'help' => 'Exemple : descendant::img/@src', ), + '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 data', 'help' => 'Lo resultats serà formatat per la foncion strtotime()', -- cgit v1.2.3