X-Git-Url: http://wien.tomnetworks.com/gitweb/?a=blobdiff_plain;f=mcs%2Fclass%2FSystem.ServiceModel.Web%2FSystem.ServiceModel.Syndication%2FRss20ItemFormatter.cs;h=cd4c1ffccdf0e3bd92ecf58033526bfcd4966010;hb=f58223b1e8e2c7c0ea7d08499fcb53ddd442cc2b;hp=3b83b390a827c622747adfb35b51a5c8741f99d6;hpb=8182125b3c71daf99468b34088372733c76371ce;p=mono.git diff --git a/mcs/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Rss20ItemFormatter.cs b/mcs/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Rss20ItemFormatter.cs index 3b83b390a82..cd4c1ffccdf 100644 --- a/mcs/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Rss20ItemFormatter.cs +++ b/mcs/class/System.ServiceModel.Web/System.ServiceModel.Syndication/Rss20ItemFormatter.cs @@ -209,9 +209,7 @@ namespace System.ServiceModel.Syndication Item.Id = reader.ReadElementContentAsString (); continue; case "pubDate": - // FIXME: somehow DateTimeOffset causes the runtime crash. - reader.ReadElementContentAsString (); - // Item.PublishDate = FromRFC822DateString (reader.ReadElementContentAsString ()); + Item.PublishDate = FromRFC822DateString (reader.ReadElementContentAsString ()); continue; case "source": Item.SourceFeed = new SyndicationFeed (); @@ -226,9 +224,7 @@ namespace System.ServiceModel.Syndication Item.Contributors.Add (p); continue; case "updated": - // FIXME: somehow DateTimeOffset causes the runtime crash. - reader.ReadElementContentAsString (); - // Item.LastUpdatedTime = XmlConvert.ToDateTimeOffset (reader.ReadElementContentAsString ()); + Item.LastUpdatedTime = XmlConvert.ToDateTimeOffset (reader.ReadElementContentAsString ()); continue; case "rights": Item.Copyright = ReadTextSyndicationContent (reader);