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

Incorrect date format in RSS feed.

    Details

    • Type: Bug
    • Status: Verified
    • Priority: 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

      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

          Attachments

            Activity

            Hide
            savithap Savitha Prakash added a comment -

            Applied patch, r98213

            Show
            savithap Savitha Prakash added a comment - Applied patch, r98213
            Hide
            hudson 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 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
            baholladay Bryan Holladay added a comment -

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

            Show
            baholladay Bryan Holladay added a comment - setting this to merge into 2.8.x since it's a bug fix
            Hide
            jean-francois.leveque@upmc.fr 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-francois.leveque@upmc.fr 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
            ikuuy 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
            ikuuy 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-francois.leveque@upmc.fr Jean-François Lévêque added a comment -

            Thanks Yuki.

            Show
            jean-francois.leveque@upmc.fr Jean-François Lévêque added a comment - Thanks Yuki.

              People

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

                Dates

                • Created:
                  Updated:
                  Resolved:

                  Git Source Code