Closed xvasek closed 3 years ago
Thanks for reporting.
Could you try dumping the date using the following patch?
diff --git a/assets/js/templates/Item.jsx b/assets/js/templates/Item.jsx
index 275365ae..7c386541 100644
--- a/assets/js/templates/Item.jsx
+++ b/assets/js/templates/Item.jsx
@@ -295,6 +295,8 @@ export default function Item({ item, selected, expanded, setNavExpanded }) {
const relDate = selfoss.ui.datetimeRelative(item.datetime);
const shares = selfoss.shares.getAll();
+ console.log(item.datetime);
+
return (
<div data-entry-id={item.id}
data-entry-source={item.source}
Or adding debugger breakpoint to the affected line
and checking what the date is that way?
By the way, which development build do you have? And do you use offline mode?
The r is a known regression, just forgot about it. Sorry, will push a fix soon.
Actually, just dumping the value will probably not give us enough info. I pushed a change that hopefully will: https://github.com/fossar/selfoss/commit/fce8eafc5c050f159109ce58c2d46f3b70795e14
The r shortcut should be now fixed at least.
Thank you, I'm confirming "r" now works and navigation panel doesn't disappear when items are in list - so far so good. After loading the page, items are still not displayed and I have redish error message:
Chyba načítání: Invalid date detected: “2021-02-16 22:45:05+01”
The problem IMHO is "+01" in the date, but you are the developer. :-)
The +01
is a timezone offset. The issue is that it is missing minutes for some reason (should be +01:00
). What PHP version do you use?
Could you search for the date in the last XHR response before the error?
My installation is Debian 10 Buster and php 7.3.19-1~deb10u1. I'm using postgres 11 (just upgraded from 9.6 now - no change).
In XHR response all datetimes have wrong format - same as above.
Thanks again for reporting, I just pushed a fix. It should work with all three supported database engines according to my tests.
Works perfectly, thx. :-)
Hello,
I have problems with development builds in firefox. If the list of articles is empty, I see the gui, but when there is at least one article, i see only background (in all window sizes):
In console I see "invalid date" errors.
In Edge selfoss more or less works. (ie. "R" for reload does not work, but I don't know, if it worked before, I only used Edge for test.)