Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 2 additions & 3 deletions lib/domain/rss_item.dart
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import 'package:webfeed/domain/rss_category.dart';
import 'package:webfeed/domain/rss_content.dart';
import 'package:webfeed/domain/rss_enclosure.dart';
import 'package:webfeed/domain/rss_source.dart';
import 'package:webfeed/util/datetime.dart';
import 'package:webfeed/util/iterable.dart';
import 'package:xml/xml.dart';

Expand All @@ -16,7 +15,7 @@ class RssItem {

final List<RssCategory>? categories;
final String? guid;
final DateTime? pubDate;
final String? pubDate;
final String? author;
final String? comments;
final RssSource? source;
Expand Down Expand Up @@ -53,7 +52,7 @@ class RssItem {
.map((e) => RssCategory.parse(e))
.toList(),
guid: element.findElements('guid').firstOrNull?.text,
pubDate: parseDateTime(element.findElements('pubDate').firstOrNull?.text),
pubDate: element.findElements('pubDate').firstOrNull?.text,
author: element.findElements('author').firstOrNull?.text,
comments: element.findElements('comments').firstOrNull?.text,
source: element
Expand Down