locked
Wrong or missing Date value with SourceType.News RRS feed

  • General discussion

  • Hello,

    the Date value is sometimes wrong with SourceType.News, e. g.

        System.DateTime.Now.ToUniversalTime() =  #4/24/2009 1:57:35 PM# Date

        StoryTime = #4/24/2009 2:34:24 PM# Date

    As you see the StoryTime is later than the actual time.

    Sometimes the StoryTime is missing.

    Thank you.
    Friday, April 24, 2009 2:08 PM

All replies

  • Hi,

    We haven't seen the issue of the date value for news ( documented at http://msdn.microsoft.com/en-us/library/dd250945.aspx) being greater than the current UTC time.
    We will try to get a repro on our end. Can you give us a repro as well if you have it ( we are looking for the exact API request you used and the response you received which had the issue with the date field)? I will send the repro to my team as soon as I have it from you for debugging.

    Thanks
    Roopali
    Friday, April 24, 2009 9:46 PM
  • Hello Roopali,

    it was my fault. The story time of the service ist correct but the .NET Framework converts the Date string of the NewsResult to the local time. Therefore I had to re-convert it to universal time.

    Thank you very much.
    Saturday, April 25, 2009 9:08 PM