Uploaded image for project: 'Sakai'
  1. Sakai
  2. SAK-21047

Incorrect date format in RSS feed.

    Details

    • Type: Bug Bug
    • Status: Verified
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 2.6.0, 2.6.1, 2.6.2, 2.6.3, 2.7.0, 2.7.1, 2.8.0
    • Fix Version/s: 2.8.2, 2.9.0
    • Component/s: Announcements
    • Labels:
      None
    • 2.8 Status:
      Resolved
    • Previous Issue Keys:

      Description

      The date format in <lastBuildDate> and <pubDate> contradicts the specification of RSS 2.0.
      (e.g. <lastBuildDate>Friday, August 19, 2011</lastBuildDate> and <pubDate>2011/08/18 15:39 CEST</pubDate>.)
      Therefore, RSS readers cannot correctly detect the date.

      They must follow RFC822.
      And, those characters should be English that is not localized.

        Gliffy Diagrams

          Activity

          Hide
          Savitha Prakash added a comment -

          Applied patch, r98213

          Show
          Savitha Prakash added a comment - Applied patch, r98213
          Hide
          Hudson CI Server added a comment -

          Integrated in announcement trunk #33 (See http://builds.sakaiproject.org:8080/job/announcement%20trunk/33/)
          SAK-21047: Incorrect date format in RSS feed

          Show
          Hudson CI Server added a comment - Integrated in announcement trunk #33 (See http://builds.sakaiproject.org:8080/job/announcement%20trunk/33/ ) SAK-21047 : Incorrect date format in RSS feed
          Hide
          Bryan Holladay added a comment -

          setting this to merge into 2.8.x since it's a bug fix

          Show
          Bryan Holladay added a comment - setting this to merge into 2.8.x since it's a bug fix
          Hide
          Jean-François Lévêque added a comment - - edited

          <lastBuildDate>Fri, 30 Mar 2012 05:53:32 0400</lastBuildDate> seen on "sakai/trunk on Oracle - Built: 03/30/12 04:00 - Sakai Revision: 106391 (Kernel 1.4.0-SNAPSHOT) Server sakai-nightly.uits.iupui.edu"

          This is still wrong if you're referring to http://www.ietf.org/rfc/rfc0822.txt.

          Year should only be 2DIGIT in RFC #822.

          Is there a newer standard for RSS?

          Show
          Jean-François Lévêque added a comment - - edited <lastBuildDate>Fri, 30 Mar 2012 05:53:32 0400</lastBuildDate> seen on "sakai/trunk on Oracle - Built: 03/30/12 04:00 - Sakai Revision: 106391 (Kernel 1.4.0-SNAPSHOT) Server sakai-nightly.uits.iupui.edu" This is still wrong if you're referring to http://www.ietf.org/rfc/rfc0822.txt . Year should only be 2DIGIT in RFC #822. Is there a newer standard for RSS?
          Hide
          Yuki Yamada added a comment -

          RFC822 has been changed by RFC1123. (http://www.ietf.org/rfc/rfc1123.txt)
          It is said as follows:

          5.2.14 RFC-822 Date and Time Specification: RFC-822 Section 5

          The syntax for the date is hereby changed to:

          date = 1*2DIGIT month 2*4DIGIT

          Show
          Yuki Yamada added a comment - RFC822 has been changed by RFC1123. ( http://www.ietf.org/rfc/rfc1123.txt ) It is said as follows: 5.2.14 RFC-822 Date and Time Specification: RFC-822 Section 5 The syntax for the date is hereby changed to: date = 1*2DIGIT month 2*4DIGIT
          Hide
          Jean-François Lévêque added a comment -

          Thanks Yuki.

          Show
          Jean-François Lévêque added a comment - Thanks Yuki.

            People

            • Assignee:
              Savitha Prakash
              Reporter:
              Yuki Yamada
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development