Uploaded image for project: 'Subversion'
  1. Subversion
  2. SVN-614

DAV:creationdate needs to be an ISO8601 date

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical
    • Resolution: Fixed
    • Affects Version/s: all
    • Fix Version/s: 0.14.0
    • Component/s: src
    • Labels:
      None

      Description

      Currently, we store a date string as the svn:date property on the revision. That
      date string is passed unchanged over the wire as DAV:creationdate. According to
      RFC 2518, that date must be an ISO-8601 date.
      
      In general, all of our date strings should be in the ISO-8601 format. See
      httpd-2.0/modules/dav/fs/repos.c::dav_format_time() for how to format the time
      from an APR time.
      
      This defect/bite-sized task involves creating a patch to APR-UTIL's date
      functions for parsing and formatting ISO-8601 dates (in a limited form; 8601 has
      a zillion variants). Those new functions can then be used throughout SVN when it
      needs to convert a time to a string and vice versa.
      
      (this is different from parsing user-supplied dates)
      
      (note: apr-util is not yet integrated into the SVN build, so any functions for
      parsing/formatting of dates can temporarily live in libsvn_subr until we move
      them to apr-util and start using apr-util)
      
      Marking as a P2 since we're violating RFC 2518. Noting this is a bite-sized task
      since it is pretty approachable to new developers.
      

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                gstein Greg Stein
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: