tAdd strange gdacs ongoing event interpretation of timestamps. - zs - Zeitungsschau rss to email converter
 (HTM) git clone git://r-36.net/zs
 (DIR) Log
 (DIR) Files
 (DIR) Refs
 (DIR) LICENSE
       ---
 (DIR) commit cee50560790a059e7bb561a5e5489ebba6994772
 (DIR) parent 7274f9076d9a7d9e65417808677a98277f3fd10e
 (HTM) Author: Christoph Lohmann <20h@r-36.net>
       Date:   Tue, 28 Apr 2020 20:37:38 +0200
       
       Add strange gdacs ongoing event interpretation of timestamps.
       
       Diffstat:
         zeitungsschau/feed.py               |       2 ++
       
       1 file changed, 2 insertions(+), 0 deletions(-)
       ---
 (DIR) diff --git a/zeitungsschau/feed.py b/zeitungsschau/feed.py
       t@@ -198,6 +198,8 @@ def parseatomfeed(astr):
        
                if hasattr(xml, "updated"):
                        feed["updated"] = parseiso(xml.updated, now) 
       +        elif hasattr(xml, "gdacs:fromdate"):
       +                feed["updated"] = parseiso(xml.fromdate, now)
                elif hasattr(xml, "pubDate"):
                        feed["updated"] = parseiso(xml.pubDate, now)
                elif hasattr(xml, "lastBuildDate"):