You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Pierre-Arnaud Marcelot (JIRA)" <ji...@apache.org> on 2012/11/08 08:58:12 UTC

[jira] [Commented] (DIRSTUDIO-845) "Friendly" time not displaying correctly

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

Pierre-Arnaud Marcelot commented on DIRSTUDIO-845:
--------------------------------------------------

Where are you located? Australia maybe?

20121108144205Z can be decomposed as this:
- 2012 => YYYY
- 11 => MM
- 08 => DD
- 14 => hh
- 42 => mm
- 05 => ss
- Z => /!\ UTC Time /!\

So, Studio will "convert" this UTC based time to a friendly version *based on your current timezone*.

If you live in Australia or in a country with a UTC+11 timezone, then the conversion is correct.
If you don't, then there must probably be a bug.
                
> "Friendly" time not displaying correctly
> ----------------------------------------
>
>                 Key: DIRSTUDIO-845
>                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-845
>             Project: Directory Studio
>          Issue Type: Bug
>          Components: studio-ldapbrowser
>    Affects Versions: 1.5.3, 2.0.0-M3
>         Environment: WinXP SP2, Apache Directory Studio 1.5.3, 2.0 M3, multiple machines.
>            Reporter: Joel
>            Priority: Minor
>
> We have a piece of photocapture software that takes a photo and adds it to our eDirectory tree along with the date the photo was taken. The format it uses to store the date in is the following: 20121108144205Z (yyyyddmmhhmm??Z). Apache takes this date and converts it to a more user friendly version but this date is off by +11 hours as below.
> 9/11/2012 1:42:05 (20121108144205Z)

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira