Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-7590

Content Loaders not respecting time zone for Dates

    XMLWordPrintableJSON

Details

    Description

      When importing content, the JCR supports the setting of the time zone for a  jcr Date. However we currently have several processes that fail to set the time zone correctly.

      org.apache.sling.jcr.contentparser.impl.ParserHelper
      org.apache.sling.jcr.contentloader.internal.DefaultContentCreator

      org.apache.sling.servlets.post.impl.helper.DateParser

      Take a String based time representation that includes a time offset and convert it to Date that looses that information, before conversion to a Calendar object.

       

      Attachments

        Issue Links

          Activity

            People

              jebailey Jason E Bailey
              jebailey Jason E Bailey
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

                  Estimated:
                  Original Estimate - Not Specified
                  Not Specified
                  Remaining:
                  Remaining Estimate - 0h
                  0h
                  Logged:
                  Time Spent - 20m
                  20m