Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-12563

RSS pubDate format is incorrect

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 1.8
    • Fix Version/s: 1.8.7, 1.9.3, 2.0
    • Component/s: RSS
    • Labels:
      None
    • Database:
      Any
    • Affected Branches:
      MOODLE_18_STABLE
    • Fixed Branches:
      MOODLE_18_STABLE, MOODLE_19_STABLE, MOODLE_20_STABLE

      Description

      In the Moodle RSS, the zone format of pubDate is incorrect
      outside North America. If the time zone is set to JST (Japan
      Standard Time), say, pubDate shows the JST time.

      RFC822 (obsolete) states:

      zone = "UT" / "GMT" ; Universal Time
      ; North American : UT
      / "EST" / "EDT" ; Eastern: - 5/ - 4
      / "CST" / "CDT" ; Central: - 6/ - 5
      / "MST" / "MDT" ; Mountain: - 7/ - 6
      / "PST" / "PDT" ; Pacific: - 8/ - 7
      / 1ALPHA ; Military: Z = UT;
      ; A:-1; (J not used)
      ; M:-12; N:+1; Y:+12
      / ( ("+" / "-") 4DIGIT ) ; Local differential
      ; hours+min. (HHMM)

      and RFC2822 (which obsoletes RFC822) states:

      zone = (( "+" / "-" ) 4DIGIT) / obs-zone

      At any rate JST must not be used; GMT may be used, but the
      RFC2822 form is preferable.

        Attachments

          Activity

            People

            Assignee:
            dougiamas Martin Dougiamas
            Reporter:
            okumura Haruhiko Okumura
            Tester:
            Petr Skoda
            Participants:
            Component watchers:
            Andrew Nicols, Jun Pataleta, Michael Hawkins, Shamim Rezaie, Simey Lameze
            Votes:
            1 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Fix Release Date:
              15/Oct/08