Uploaded image for project: 'DSpace'
  1. DSpace
  2. DS-2344

OAI response date is not in UTC

    Details

    • Attachments:
      1
    • Comments:
      3
    • Documentation Status:
      Not Required

      Description

      The Response Date in the oai interface looks like a UTC date but is in fact the server time. So if the server time is in GMT the time/date is wrong.
      to fix this the time zone has to be set in the class /dspace-oai/src/main/java/org/dspace/xoai/util/XOAICacheManager.java like this in line 249:
      format.setTimeZone(TimeZone.getTimeZone("UTC"));
      see the attached file where this is fixed.

        Attachments

          Activity

            People

            • Assignee:
              helix84 Ivan Masár
              Reporter:
              christian.scheible Christian Scheible
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: