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

Florent Guillaume commented on CMIS-466:
----------------------------------------

Another option was to use the local timezone, but whose? The client's timezone 
is unknown, and it's the client that sent that string. Using the server 
timezone would probably be less surprising if the server is local, but also 
disconcerting for many users on a remote server.

All in all my opinion is that is a borderline case where the server shouldn't 
crash but it's the client responsibility to send the proper timezone anyway, 
thus the chosen implementation.

                
> Timezone is optional
> --------------------
>
>                 Key: CMIS-466
>                 URL: https://issues.apache.org/jira/browse/CMIS-466
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-server
>    Affects Versions: OpenCMIS 0.3.0
>            Reporter: Florent Guillaume
>            Assignee: Florent Guillaume
>             Fix For: OpenCMIS 0.6.0
>
>
> The spec has:
> {noformat}
> <datetime string> ::= YYYY-MM-DDThh:mm:ss.sss[Z | +hh:mm | -hh:mm]
> {noformat}
> which means that the timezone is optional, but our code doesn't take this 
> into account and mandates it.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to