[ 
https://issues.apache.org/jira/browse/SLING-7590?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16441426#comment-16441426
 ] 

Stefan Seifert commented on SLING-7590:
---------------------------------------

it would be nice to have proper timezone support in all modules that works the 
same way.

raising the minimum supported JRE to java 8 should be discusses in the dev list.

but if i understand correctly 2 of 3 places work correct concerning the time 
zones - even with java 7. can we apply the same way they use to the content 
loader as well?

> Content Loaders not respecting time zone for Dates
> --------------------------------------------------
>
>                 Key: SLING-7590
>                 URL: https://issues.apache.org/jira/browse/SLING-7590
>             Project: Sling
>          Issue Type: Improvement
>            Reporter: Jason E Bailey
>            Priority: Major
>
> 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.
>  



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to