aboutsummaryrefslogtreecommitdiff
path: root/app/Services
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/Services
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/Services')
-rw-r--r--app/Services/ImportService.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Services/ImportService.php b/app/Services/ImportService.php
index 4910e9cc4..a4ef547ba 100644
--- a/app/Services/ImportService.php
+++ b/app/Services/ImportService.php
@@ -174,6 +174,7 @@ class FreshRSS_Import_Service {
case 'xPathItemUri': $xPathSettings['itemUri'] = $value['value']; break;
case 'xPathItemAuthor': $xPathSettings['itemAuthor'] = $value['value']; break;
case 'xPathItemTimestamp': $xPathSettings['itemTimestamp'] = $value['value']; break;
+ case 'xPathItemTimeFormat': $xPathSettings['itemTimeFormat'] = $value['value']; break;
case 'xPathItemThumbnail': $xPathSettings['itemThumbnail'] = $value['value']; break;
case 'xPathItemCategories': $xPathSettings['itemCategories'] = $value['value']; break;
case 'xPathItemUid': $xPathSettings['itemUid'] = $value['value']; break;