The problem is that we use
   new Date()
which does not support time zone well. Instead, we should use
  new GregorianCalendar()
or
  java.time.LocalDateTime.now()

That's for the timezone.
For the language, I guess it comes from the formatter used, we don't use
the locale afaik:

https://github.com/apache/felix/blob/trunk/gogo/jline/src/main/java/org/apache/felix/gogo/jline/Posix.java#L264

2017-03-02 14:48 GMT+01:00 Jean-Baptiste Onofré <j...@nanthrax.net>:

> By the way, it works fine on my box.
>
> Gonna investigate.
>
> Regards
> JB
>
>
> On 03/02/2017 02:40 PM, sion-zenit wrote:
>
>> Guillaume Nodet-2, thanks for the answer.
>> https://issues.apache.org/jira/browse/KARAF-5005
>>
>>
>>
>> --
>> View this message in context: http://karaf.922171.n3.nabble.
>> com/shell-date-wrong-time-tp4049693p4049714.html
>> Sent from the Karaf - User mailing list archive at Nabble.com.
>>
>>
> --
> Jean-Baptiste Onofré
> jbono...@apache.org
> http://blog.nanthrax.net
> Talend - http://www.talend.com
>



-- 
------------------------
Guillaume Nodet

Reply via email to