[ 
https://issues.apache.org/jira/browse/DIRSTUDIO-293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Stefan Seelmann resolved DIRSTUDIO-293.
---------------------------------------

    Resolution: Fixed

Fixed in trunk:
  http://svn.apache.org/viewvc?rev=686730&view=rev

Now we use the new GeneralizedTime class from shared-ldap to convert 
generalized time syntax to an java.util.Date.


> Values of attributes of the syntax 'Generalized Time' must have the 
> g-time-zone 'Z' and minutes and seconds set to be interpreted and shown as a 
> date instead of the raw value
> ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
>
>                 Key: DIRSTUDIO-293
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-293
>             Project: Directory Studio
>          Issue Type: Bug
>          Components: studio-ldapbrowser
>    Affects Versions: 1.0.1, 1.1.0
>         Environment: Gentoo Base System release 1.12.11.1;
> Linux o309 2.6.23-gentoo-r8o309 #1 PREEMPT Mon Feb 25 15:31:40 CET 2008 i686 
> Intel(R) Pentium(R) 4 CPU 2.40GHz GenuineIntel GNU/Linux;
> Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_14-b03);
> Apache Directory Studio 1.1.0.v20080303
>            Reporter: Linus van Geuns
>            Assignee: Stefan Seelmann
>            Priority: Minor
>             Fix For: 1.3.0
>
>
> 1.) Create some entry in your directory containing an attribute of the syntax 
> 'Generalized Time'
> 2.) Set that to a value containing the 'g-time-zone' 'Z' and vlues for 
> 'minute' and 'second', eg '20080309234300Z'
> 3.) When viewing the entry in the LDAP browser this value will be interpreted 
> as a date and shown as '09.03.2008 23:45 CET (..'
> 4.) Now remove the 'second' or replace the 'g-time-zone' with eg '+02'
> 5.) When viewing the entry in the LDAP browser after changing it according to 
> (4.) only the raw value for the 'Generalized Time' will be shown.
> According to RFC4517 ยง3.3.13, the syntax 'Generalized Time' only requires 
> values for 'century', 'year', 'month', 'day' and 'hour' plus the 
> 'g-time-zome' which can be 'Z' or a 'g-differential' ((+/-)hour[minute]) 
> representing a local time zone, so the LDAP browser should be able to 
> interpret those values.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to