summaryrefslogtreecommitdiff
path: root/lib/lib_rss.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-12-02 19:53:36 +0100
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-12-02 19:53:36 +0100
commitee6a1bdde381a4ac95d8c7393deda3ebbaae1ead (patch)
tree0eea61aca703ef53106cb7bb995990515080a275 /lib/lib_rss.php
parent65c972873bd61356defac787bfcdd2cba3323a5e (diff)
PHP : Alertes fonction date()
En attendant https://github.com/marienfressinaud/FreshRSS/issues/310 la fonction date() générait des alertes sur les systèmes n'ayant pas personnalisé PHP Voir http://us3.php.net/manual/en/function.date-default-timezone-set.php
Diffstat (limited to 'lib/lib_rss.php')
-rw-r--r--lib/lib_rss.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/lib_rss.php b/lib/lib_rss.php
index 9bce0760b..22e50a424 100644
--- a/lib/lib_rss.php
+++ b/lib/lib_rss.php
@@ -70,7 +70,7 @@ function timestamptodate ($t, $hour = true) {
$date = Translate::t ('format_date', $month);
}
- return date ($date, $t);
+ return @date ($date, $t);
}
function sortEntriesByDate ($entry1, $entry2) {