You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@chemistry.apache.org by "Florent Guillaume (Created) (JIRA)" <ji...@apache.org> on 2011/11/03 15:45:32 UTC

[jira] [Created] (CMIS-466) Timezone is optional

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

        

[jira] [Commented] (CMIS-466) Timezone is optional

Posted by "Florent Guillaume (Commented) (JIRA)" <ji...@apache.org>.
    [ 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

        

[jira] [Resolved] (CMIS-466) Timezone is optional

Posted by "Florent Guillaume (Resolved) (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/CMIS-466?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Florent Guillaume resolved CMIS-466.
------------------------------------

    Resolution: Fixed

Fixed, using GMT when no timezone is present.
r1197167


                
> 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