directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <>
Subject [jira] [Resolved] (DIRAPI-219) DateUtils.toGeneralizedTime does not work with some Locales
Date Sun, 23 Aug 2015 04:23:47 GMT


Emmanuel Lecharny resolved DIRAPI-219.
    Resolution: Fixed

I hope it's fixed with the latest patch.

Uwe, please feel free to reopen the issue if what I committed is not enough. I'm not a Calendar

> DateUtils.toGeneralizedTime does not work with some Locales
> -----------------------------------------------------------
>                 Key: DIRAPI-219
>                 URL:
>             Project: Directory Client API
>          Issue Type: Bug
>    Affects Versions: 1.0.0-M28
>            Reporter: Gregory Chanan
>             Fix For: 1.0.0-M29
> Over in SOLR-6915 I've run into an issue with a few Locales when trying to use Apache
Directory Server via the Hadoop MiniKDC.  Here's an example failure that happens on JDK8:
> The locales that have a problem for me are:
> th_TH_TH_#u-nu-thai
> ja_JP_JP_#u-ca-japanese
> hi_IN
> I've tracked these problems to DateUtils.toGeneralizedTime(), which is returning the
following to me for these 3 locales, respectively:
>  ๒๕๕๘๐๑๒๗๐๑๐๘๐๖.๙๒๙Z
>  270127010806.259Z
> २०१५०१२७०१०८०६.०४०Z

This message was sent by Atlassian JIRA

View raw message